config is in loggedfs 0.5-0ubuntu2.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
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 26 27 28 29 30 31 32 33 34 | #!/bin/sh
set -e
CONFIGFILE=/etc/default/loggedfs
# Source debconf library
. /usr/share/debconf/confmodule
# Load config file if it exists
if [ -e "$CONFIGFILE" ] ; then
. $CONFIGFILE
if [ "$RUN" = "yes" ] ; then
db_set loggedfs/start_default true
else
db_set loggedfs/start_default false
fi
db_set loggedfs/audit_path "$AUDIT_DIR"
if [ "$USE_SYSLOG" = "yes" ] ; then
db_set loggedfs/use_syslog true
else
db_set loggedfs/use_syslog false
fi
fi
db_input medium loggedfs/start_default || true
db_go || true
# Ask for additional information if started by default
db_get loggedfs/start_default
if [ "$RET" = "true" ] ; then
db_input medium loggedfs/audit_path || true
db_input medium loggedfs/use_syslog || true
db_go || true
fi
|