• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/packaging/Debian/debian-unstable/
1#!/bin/sh -e
2#
3#
4
5if [ "$1" = purge ]; then
6
7	# Remove Samba's state files, both volatile and non-volatile
8	rm -Rf /var/run/samba/ /var/cache/samba/ /var/lib/samba
9
10	# Remove log files
11	rm -Rf /var/log/samba/
12
13	# Remove init.d configuration file
14	echo  Removing configuration file /etc/default/samba...  >&2
15	rm -f /etc/default/samba
16
17	# Remove NetBIOS entries from /etc/inetd.conf
18	update-inetd --remove netbios-ssn
19
20else
21	# Not purging, do not remove NetBIOS entries from /etc/inetd.conf
22	update-inetd --disable netbios-ssn
23
24fi
25
26#DEBHELPER#
27