blob: 20463a130c685f6f7c06df3c80112e65c27d0899 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
set -e
UG=eyefi
P=eyekindo
H=/var/lib/$P
if [ "$1" = configure ] ; then
getent group $UG >/dev/null 2>&1 || addgroup --system $UG
getent passwd $UG >/dev/null 2>&1 || adduser --system --home $H \
--no-create-home --disabled-password --ingroup $UG $UG
if ! test -d $H ; then
mkdir -p $H
chown $UG:$UG $H
chmod 2770 $H
fi
fi
#DEBHELPER#
|