summaryrefslogtreecommitdiff
path: root/packaging/Caldera/UnixWare/pkg/postremove
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Caldera/UnixWare/pkg/postremove')
-rwxr-xr-xpackaging/Caldera/UnixWare/pkg/postremove30
1 files changed, 0 insertions, 30 deletions
diff --git a/packaging/Caldera/UnixWare/pkg/postremove b/packaging/Caldera/UnixWare/pkg/postremove
deleted file mode 100755
index dc81d6fa85..0000000000
--- a/packaging/Caldera/UnixWare/pkg/postremove
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-#
-# Remove /var/spool/samba and delete inetd entries for swat
-#
-
-SPOOL=/var/spool/samba
-SVCS=/etc/services
-INET=/etc/inetd.conf
-
-[ -d $SPOOL ] && {
- rm -rf $SPOOL
-}
-
-grep swat $SVCS > /dev/null && {
- B=`basename $SVCS`
- T=$B$$
- grep -v swat $SVCS > /tmp/$T
- cp /tmp/$T $SVCS
- rm -f /tmp/$T
-}
-
-grep swat $INET > /dev/null || {
- B=`basename $INET`
- T=$B$$
- grep -v swat $INET > /tmp/$T
- cp /tmp/$T $INET
- rm -f /tmp/$T
-}
-
-kill -1 `ps -e | grep inetd | awk ' { print $1 } '`