cryptonas/debian/prerm
lars d0d27ea05e Makefile created
debian installer improved
binary suid wrappers added
2006-05-15 09:41:00 +00:00

20 lines
442 B
Bash
Executable file

#!/bin/sh
# read the default setting file, if it exists
[ -e /etc/default/cryptobox ] && . /etc/default/cryptobox
# set CONF_FILE to default value, if not configured in /etc/default/cryptobox
CONF_FILE=${CONF_FILE:-/etc/cryptobox/cryptobox.conf}
# parse config file
if test -e "$CONF_FILE"
then . "$CONF_FILE"
else echo "[$(basename $0)] - configuration file ($CONF_FILE) not found!" >&2
exit 1
fi
invoke-rc.d cryptobox stop
true