config is in plptools 1.0.13-0.3build1.
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 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | #! /bin/sh
set -e
# Use debconf baby
. /usr/share/debconf/confmodule
db_input medium plptools/ncpd/start || true
db_go
db_get plptools/ncpd/start
if [ "$RET" = "true" ] ; then
db_input medium plptools/ncpd/serial || true
db_go
db_input medium plptools/ncpd/listenat || true
db_go
db_get plptools/ncpd/listenat
SEENREM=false
case "$RET" in
0.0.0.0)
;;
127.0.0.1)
;;
0.0.0.0:7501)
;;
127.0.0.1:7501)
;;
*)
SEENREM=true
db_set plptools/frontends/remoteaddr "$RET"
esac
db_fset plptools/frontends/remoteaddr seen $SEENREM
else
db_fset plptools/frontends/remoteaddr seen false
fi
db_input medium plptools/plpfuse/start || true
db_go
db_input medium plptools/plpprintd/start || true
db_go
db_get plptools/plpprintd/start
if [ "$RET" = "true" ] ; then
db_input medium plptools/plpprintd/printqueue || true
db_go
fi
db_get plptools/ncpd/start
if [ "$RET" = "false" ] ; then
db_input medium plptools/frontends/remoteaddr || true
db_go
fi
exit 0
|