diff options
author | Daniil Baturin <daniil@baturin.org> | 2014-11-09 19:51:49 +0600 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2014-11-09 19:51:49 +0600 |
commit | f86b6adbf3ed95ee5bb13d4a3b24d98cbd022596 (patch) | |
tree | 74c5bb6a3d0d775f2ab5d46dfeab5029acf00e74 /templates | |
parent | 0c20ea86adefa872505854393f2c5a2d2b3b3783 (diff) | |
parent | afab9afc93c6e536b9b88fe8975c187eec717ada (diff) | |
download | vyatta-cfg-system-f86b6adbf3ed95ee5bb13d4a3b24d98cbd022596.tar.gz vyatta-cfg-system-f86b6adbf3ed95ee5bb13d4a3b24d98cbd022596.zip |
Merge pull request #31 from hiroyuki-sato/patch-for-lithium
Fix Bug#382 Removing system ipv6 forwarding causes script error.
Diffstat (limited to 'templates')
-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 |