From 6cfa5641aec9f21862cb6a6772ccd2a4cbb5481f Mon Sep 17 00:00:00 2001 From: Andy Bavier Date: Tue, 15 Apr 2008 18:34:40 +0000 Subject: [PATCH] Remove .acl files --- factory/setup-link | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/factory/setup-link b/factory/setup-link index be8c949..ba8cb42 100755 --- a/factory/setup-link +++ b/factory/setup-link @@ -37,6 +37,7 @@ iptables -t mangle -A FORWARD -o $BRIDGE -j MARK --set-mark $SLICEID ### Create "grab link" script GRAB=/vsys/grab-$ETUN0 +rm -f $GRAB $GRAB.acl cat > $GRAB < /sys/class/net/$ETUN0/new_ns_pid EOF chmod +x $GRAB +sleep 1 echo $SLICE > $GRAB.acl ### Create "delete link" script DELETE=/vsys/delete-$ETUN0 +rm -f $DELETE $DELETE.acl cat > $DELETE < $DELETE.acl -- 2.43.0