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
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
21 # Not purging, do not remove NetBIOS entries from /etc/inetd.conf
22 update-inetd
--disable netbios-ssn