blob: 11c776646da4ae33e9ded0195c80fca421aa1fc0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
while read dest
do
sed -e '/^swat.*swat$/d' $dest >/tmp/$$swat || exit 2
# Use cp;rm; instead of mv because $dest might be a symlink
cp -f /tmp/$$swat $dest || exit 2
rm -f /tmp/$$swat
done
if [ "$1" = ENDOFCLASS ]
then
if [ -z "$PKG_INSTALL_ROOT" ]
then
kill -HUP `ps -e -o pid,comm | grep inetd | awk '{print $1}'`
fi
fi
|