File: opencryptoki.postinst

package info (click to toggle)
opencryptoki 2.2.6%2Bdfsg2-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 8,776 kB
  • ctags: 7,011
  • sloc: ansic: 97,282; sh: 9,975; makefile: 541
file content (25 lines) | stat: -rw-r--r-- 314 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

set -e

case "${1}" in
	configure)
		addgroup --system pkcs11

		chown root:pkcs11 /var/lib/opencryptoki
		chmod 0775 /var/lib/opencryptoki
		;;

	abort-upgrade|abort-remove|abort-deconfigure)

		;;

	*)
		echo "postinst called with unknown argument \`${1}'" >&2
		exit 1
		;;
esac

#DEBHELPER#

exit 0