diff options
Diffstat (limited to 'contrib/netjail/netjail_stop.sh')
-rwxr-xr-x | contrib/netjail/netjail_stop.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/netjail/netjail_stop.sh b/contrib/netjail/netjail_stop.sh index 55bcf2a5e..8f6c07f50 100755 --- a/contrib/netjail/netjail_stop.sh +++ b/contrib/netjail/netjail_stop.sh | |||
@@ -45,7 +45,10 @@ for N in $(seq $GLOBAL_N); do | |||
45 | 45 | ||
46 | if [ -d /tmp/netjail_scripts ] | 46 | if [ -d /tmp/netjail_scripts ] |
47 | then | 47 | then |
48 | ip netns exec ${ROUTERS[$N]} ./${R_SCRIPT[$N]} ${ROUTER_NETS[$N]} 0 | 48 | if [ "" != "${R_SCRIPT[$N]}" ] |
49 | then | ||
50 | ip netns exec ${ROUTERS[$N]} ./${R_SCRIPT[$N]} ${ROUTERS[$N]} 0 $PREFIX | ||
51 | fi | ||
49 | rm -rf /tmp/netjail_scripts | 52 | rm -rf /tmp/netjail_scripts |
50 | fi | 53 | fi |
51 | 54 | ||