3 sed -e '/^swat.*swat$/d' $dest >/tmp/$$swat || exit 2
4 cat $src >>/tmp/$$swat || exit 2
6 # Use cp;rm instead of mv because $dest might be a symlink
7 cp -f /tmp/$$swat $dest || exit 2
11 if [ "$1" = ENDOFCLASS ]
14 # If local install, restart inetd
15 if [ -z "${PKG_INSTALL_ROOT}" ]
18 kill -HUP `ps -e -o pid,comm | grep inetd | awk '{print $1}'`
24 The Samba Web Administration Tool (SWAT) has been installed on your system.
25 You can connect to it from a web browser on TCP port 901 at
26 http://${TARGET}:901/.
28 If you use NIS/NIS+, check the ${PKG_INSTALL_ROOT}/etc/nsswitch.conf file
29 to verify that the local services file is being used as a backend for the
30 services database, or you won't be able to connect to the Samba Admin Tool.
34 if [ ! -z "$PKG_INSTALL_ROOT" ]
37 The SWAT settings will not take effect till you send a hangup (HUP) signal
38 to inetd on the target system.