Skip to content
Commits on Source (2)
......@@ -63,8 +63,8 @@ db_input medium samba-common/workgroup || true
db_go
DHCPPRIORITY=medium
#if [ "$DEBCONF_RECONFIGURE" = 1 ] && [ -f /sbin/dhclient3 ]
if [ -f /sbin/dhclient3 ]
#if [ "$DEBCONF_RECONFIGURE" = 1 ] && [ -f /sbin/dhclient ]
if [ -f /sbin/dhclient ]
then
DHCPPRIORITY=high
# TODO: see if we can detect that dhcp-client is *going* to be installed,
......
......@@ -16,6 +16,9 @@ if [ "$1" = purge ]; then
if [ -x "`which ucfr 2>/dev/null`" ]; then
ucfr --purge samba-common /etc/samba/smb.conf
fi
if [ -f /etc/samba/dhcp.conf ]; then
rm /etc/samba/dhcp.conf
fi
fi
#DEBHELPER#