On Fri, 13 Apr 2001, Ed Wilts wrote:
> The Samba uninstall utility appears to be dependent on inetd, not xinetd, and
> does not function properly with just xinetd installed. By looking at the
> code, I think it will leave around swat in /etc/services. I haven't tested
> this, since I can't afford to uninstall samba on this system.
[snip]
> perl -ni -e 'print unless (/^swat\W+/ || /^#swat\W+/)' /etc/inetd.conf
> perl -ni -e 'print unless /^swat\W+/' /etc/services
> service xinetd reload &>/dev/null || :
No, it will work, just a little ugly. since inetd is no more now,
modifying /etc/inetd.conf is harmless. Besides, leaving some extra entries
in /etc/services isn't harmful at all too. Since /etc/xinetd.d/swat is
removed, xinetd will reload without swat entry and everything is fine.
Abel Cheung