mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
17 lines
334 B
Plaintext
17 lines
334 B
Plaintext
|
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
|
||
|
|