Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
dhclient3 was renamed to dhclient long time ago...
· 04bfc021
Mathieu Parent
authored
Apr 17, 2018
04bfc021
Remove /etc/samba/dhcp.conf on purge (Closes: #784713)
· a306f250
Mathieu Parent
authored
Apr 17, 2018
a306f250
Show whitespace changes
Inline
Side-by-side
debian/samba-common.config
View file @
a306f250
...
...
@@ -63,8 +63,8 @@ db_input medium samba-common/workgroup || true
db_go
DHCPPRIORITY
=
medium
#if [ "$DEBCONF_RECONFIGURE" = 1 ] && [ -f /sbin/dhclient
3
]
if
[ -
f
/
sbin
/
dhclient
3
]
#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,
...
...
debian/samba-common.postrm
View file @
a306f250
...
...
@@ -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#