ad-schema/license.txt: Fix typo.
[Samba/kamenim.git] / packaging / Debian / debian-sarge / samba.postrm
blobb79fe1d0099ee2d67cc0f0914468ae5408a5e1bc
1 #!/bin/sh -e
5 if [ "$1" = purge ]; then
7 # Remove Samba's state files, both volatile and non-volatile
8 rm -Rf /var/run/samba/ /var/cache/samba/ /var/lib/samba
10 # Remove log files
11 rm -Rf /var/log/samba/
13 # Remove init.d configuration file
14 echo Removing configuration file /etc/default/samba... >&2
15 rm -f /etc/default/samba
17 # Remove NetBIOS entries from /etc/inetd.conf
18 update-inetd --remove netbios-ssn
20 else
21 # Not purging, do not remove NetBIOS entries from /etc/inetd.conf
22 update-inetd --disable netbios-ssn
26 #DEBHELPER#