1999-03-10 22:28:00 +00:00
|
|
|
diff -ur --unidirectional-new-file skipsrc-1.0.orig/admin/hosts.4.x work.new/admin/hosts.4.x
|
1998-01-09 23:23:58 +00:00
|
|
|
--- skipsrc-1.0.orig/admin/hosts.4.x Fri Oct 25 13:13:14 1996
|
1999-03-10 22:28:00 +00:00
|
|
|
+++ work.new/admin/hosts.4.x Mon Mar 8 21:33:39 1999
|
1998-01-09 23:23:58 +00:00
|
|
|
@@ -46,20 +46,18 @@
|
|
|
|
#
|
|
|
|
# SKIP host access control information
|
|
|
|
#
|
|
|
|
-PATH=/usr/skip/bin:/bin export PATH
|
|
|
|
-SKIP_ACL=/etc/skip/acl.*
|
|
|
|
+PREFIX=@@PREFIX@@
|
|
|
|
+SKIP_BIN=${PREFIX}/bin
|
|
|
|
+PATH=${SKIP_BIN}:${PATH} export PATH
|
|
|
|
+SKIP_ACL=${PREFIX}/etc/skip/acl.*
|
|
|
|
SKIP_NOCHECK=no; export SKIP_NOCHECK
|
|
|
|
OS_NAME=`uname`
|
|
|
|
|
|
|
|
-echo "starting SKIP for $OS_NAME v1.0." > /dev/console
|
|
|
|
-
|
|
|
|
# Update ACL for each SKIP interface
|
|
|
|
#
|
|
|
|
-for acl in $SKIP_ACL "end" ; do
|
|
|
|
- if [ $acl = "end" ]; then
|
|
|
|
- break
|
|
|
|
- fi
|
|
|
|
- if [ -f $SKIP_ACL ]; then
|
|
|
|
- . $SKIP_ACL > /dev/null
|
|
|
|
+for ACL in ${SKIP_ACL}; do
|
|
|
|
+ if [ -f "${ACL}" ]; then
|
|
|
|
+ . ${ACL} > /dev/null
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
+
|