config is in xringd 1.20-25.2.
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 | #!/bin/sh -e
# Drag in debconf stuff.
. /usr/share/debconf/confmodule
if [ -f /etc/xringd.conf ]; then
MODDEV=`grep -E '^-m ' /etc/xringd.conf | cut -d\ -f2`
fi
if [ -f /etc/xringd.conf -a ! -z "$MODDEV" ]; then
db_set xringd/modem-device $MODDEV
fi
db_input medium xringd/modem-device || true
db_go
|