source: branches/samba-3.0/packaging/Solaris/r.swat@ 1036

Last change on this file since 1036 was 1, checked in by Paul Smedley, 18 years ago

Initial code import

File size: 334 bytes
Line 
1while read dest
2do
3 sed -e '/^swat.*swat$/d' $dest >/tmp/$$swat || exit 2
4 # Use cp;rm; instead of mv because $dest might be a symlink
5 cp -f /tmp/$$swat $dest || exit 2
6 rm -f /tmp/$$swat
7done
8
9if [ "$1" = ENDOFCLASS ]
10then
11 if [ -z "$PKG_INSTALL_ROOT" ]
12 then
13 kill -HUP `ps -e -o pid,comm | grep inetd | awk '{print $1}'`
14 fi
15fi
16
Note: See TracBrowser for help on using the repository browser.