#!/bin/sh -e
#
-# $Id: samba.postrm,v 1.3 2003/06/01 07:12:51 peloy Exp $
#
if [ "$1" = purge ]; then
# Remove NetBIOS entries from /etc/inetd.conf
update-inetd --remove netbios-ssn
- update-rc.d samba remove >/dev/null
else
# Not purging, do not remove NetBIOS entries from /etc/inetd.conf
update-inetd --disable netbios-ssn