summaryrefslogtreecommitdiff
path: root/security/skip/files/patch-ac
blob: 8b0c7cb1f3c1a19dc1e6c478b82406287dfb3206 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
diff -ur --unidirectional-new-file skipsrc-1.0.orig/admin/hosts.4.x skipsrc-1.0/admin/hosts.4.x
--- skipsrc-1.0.orig/admin/hosts.4.x	Fri Oct 25 13:13:14 1996
+++ skipsrc-1.0/admin/hosts.4.x	Thu Dec 18 10:53:56 1997
@@ -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
+