summaryrefslogtreecommitdiff
path: root/HPUX/IPF-ALL/preremove
diff options
context:
space:
mode:
Diffstat (limited to 'HPUX/IPF-ALL/preremove')
-rwxr-xr-xHPUX/IPF-ALL/preremove29
1 files changed, 29 insertions, 0 deletions
diff --git a/HPUX/IPF-ALL/preremove b/HPUX/IPF-ALL/preremove
new file mode 100755
index 0000000000000..65cd7e4d29535
--- /dev/null
+++ b/HPUX/IPF-ALL/preremove
@@ -0,0 +1,29 @@
+#! /sbin/sh
+########
+# Product: IP Filter
+# Fileset: IPF-ALL
+# preremove
+########
+#
+# (c) Copyright (C) 2012 by Darren Reed.
+#
+########
+
+########
+# Source control script environment
+########
+
+UTILS="/usr/lbin/sw/control_utils"
+if [[ ! -f $UTILS ]] ; then
+ echo "ERROR: Cannot find $UTILS"
+ exit 1
+fi
+. $UTILS
+exitval=$SUCCESS
+
+########
+# Kill off inetd first
+########
+
+kmadmin -U ipf
+exit $exitval