From fd84ecda7d3bfebb4237110b8efe2ab2713ea8e1 Mon Sep 17 00:00:00 2001 From: Lorenzo Santina Date: Mon, 11 Sep 2017 15:27:53 +0200 Subject: treewide: fix shellscript syntax errors/typos Fix multiple syntax errors in shelscripts (of packages only) These errors were causing many conditions to not working properly Signed-off-by: Lorenzo Santina [increase PKG_RELEASE, drop command substitution from directip.sh] Signed-off-by: Mathias Kresin --- package/network/config/gre/files/gre.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/network/config/gre/files') diff --git a/package/network/config/gre/files/gre.sh b/package/network/config/gre/files/gre.sh index a6b4ba85f6..e604bfb259 100755 --- a/package/network/config/gre/files/gre.sh +++ b/package/network/config/gre/files/gre.sh @@ -25,7 +25,7 @@ gre_generic_setup() { json_add_string mode "$mode" json_add_int mtu "${mtu:-1280}" [ -n "$df" ] && json_add_boolean df "$df" - [ -n "ttl" ] && json_add_int ttl "$ttl" + [ -n "$ttl" ] && json_add_int ttl "$ttl" [ -n "$tos" ] && json_add_string tos "$tos" json_add_boolean multicast "$multicast" json_add_string local "$local" -- cgit v1.2.3