diff options
author | Hiroyuki Sato <hiroysato@gmail.com> | 2014-11-06 00:20:00 +0900 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2015-02-27 20:16:13 +0100 |
commit | 16ea863db6c453d6fea3bc0aa701c50202a6b697 (patch) | |
tree | da512529e9230b198d441a918d8a875ca6178e7c | |
parent | 97c1017ee8529798e05a27459c415c213b346ead (diff) | |
download | vyatta-cfg-system-16ea863db6c453d6fea3bc0aa701c50202a6b697.tar.gz vyatta-cfg-system-16ea863db6c453d6fea3bc0aa701c50202a6b697.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 |