6 CONFIGFILE="$CONFIGDIR/silcd.conf"
7 IPCONFIGFILE="$CONFIGDIR/silcd-primary-ip.conf"
8 ADMINCONFIGFILE="$CONFIGDIR/silcd-admin.conf"
12 if [ -d /var/log/silcd ]; then
16 # Remove conffile from ucf's database if ucf is available
17 if [ -x /usr/bin/ucf ]; then
18 for conffile in "$CONFIGFILE" "$IPCONFIGFILE" "$ADMINCONFIGFILE"; do
19 ucf --purge "$conffile"
24 # Remove silcd configuration directory
28 remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
32 echo "postrm called with unknown argument \`$1'" >&2