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
|
#!/bin/sh
# Source debconf library.
. /usr/share/debconf/confmodule
db_version 2.0
set -e
db_input medium canna/run_cannaserver || true
db_go
db_get canna/run_cannaserver
if [ "$RET" = "true" ] ; then
db_input medium canna/run_with_inet || true
db_go
db_get canna/run_with_inet
if [ "$RET" = "true" ] ; then
db_input medium canna/manage_allow_hosts_with_debconf || true
db_go
db_get canna/manage_allow_hosts_with_debconf
if [ "$RET" = "true" ] ; then
db_input medium canna/allow_hosts || true
db_go
fi
fi
fi
|