summaryrefslogtreecommitdiff
path: root/setup/SunOS/r.drvcfg
diff options
context:
space:
mode:
Diffstat (limited to 'setup/SunOS/r.drvcfg')
-rw-r--r--setup/SunOS/r.drvcfg20
1 files changed, 20 insertions, 0 deletions
diff --git a/setup/SunOS/r.drvcfg b/setup/SunOS/r.drvcfg
new file mode 100644
index 0000000..713ef60
--- /dev/null
+++ b/setup/SunOS/r.drvcfg
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+# Copyright (c) 2005 by 4Front Technologies
+# All rights reserved.
+#
+#
+
+while read src
+do
+ if [ -f $src ]
+ then
+ if /usr/sbin/pkgchk -p $src
+ then
+ rm -f $src
+ else
+ echo "not removing $src"
+ fi
+ fi
+done
+exit 0