diff options
author | Hiroyuki Sato <hiroysato@gmail.com> | 2014-11-06 00:20:00 +0900 |
---|---|---|
committer | Hiroyuki Sato <hiroysato@gmail.com> | 2014-11-06 00:20:00 +0900 |
commit | afab9afc93c6e536b9b88fe8975c187eec717ada (patch) | |
tree | d892a87713701bcb4d1a96e8c96100044bb7bb79 | |
parent | 7a5a8500091589f0ede3d5a1dbc8b6b4b3fabf1d (diff) | |
download | vyatta-cfg-system-afab9afc93c6e536b9b88fe8975c187eec717ada.tar.gz vyatta-cfg-system-afab9afc93c6e536b9b88fe8975c187eec717ada.zip |
Fix Bug#382 Removing system ipv6 forwarding causes script error.
-rw-r--r-- | templates/system/ipv6/disable-forwarding/node.def | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/system/ipv6/disable-forwarding/node.def b/templates/system/ipv6/disable-forwarding/node.def index eefb8328..5e689c5b 100644 --- a/templates/system/ipv6/disable-forwarding/node.def +++ b/templates/system/ipv6/disable-forwarding/node.def @@ -25,7 +25,7 @@ delete: for i in * ; do if [[ "$i" == "default" ]] || [[ "$i" == "all" ]] || - [[ ! -d "$i" ]; then + [[ ! -d "$i" ]]; then continue fi if [[ -e /var/run/vyatta/ipv6_no_fwd.$i ]]; then @@ -40,7 +40,7 @@ delete: running=$(pgrep -n radvd) if [[ $running -eq 0 ]] && [[ -e /etc/radvd.conf ]] && - [[ -x /etc/init.d/radvd ]; then + [[ -x /etc/init.d/radvd ]]; then /etc/init.d/radvd start fi |