diff options
author | Lorenzo Santina <lorenzo.santina@edu.unito.it> | 2017-09-11 15:27:53 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-09-13 08:07:39 +0200 |
commit | d33f7905dfb39458ff2127237be22a54e806bdc9 (patch) | |
tree | ccbf9c3f1bb3aa3a29aeaf0bc43f425352c8950a /package/network/config/gre | |
parent | 4f162ac3ce3c37fa15561cc3de6a044ff3ace2bc (diff) | |
download | mtk-20170518-d33f7905dfb39458ff2127237be22a54e806bdc9.zip mtk-20170518-d33f7905dfb39458ff2127237be22a54e806bdc9.tar.gz mtk-20170518-d33f7905dfb39458ff2127237be22a54e806bdc9.tar.bz2 |
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 <lorenzo.santina@edu.unito.it>
[increase PKG_RELEASE, drop command substitution from directip.sh]
Signed-off-by: Mathias Kresin <dev@kresin.em>
Diffstat (limited to 'package/network/config/gre')
-rw-r--r-- | package/network/config/gre/Makefile | 2 | ||||
-rwxr-xr-x | package/network/config/gre/files/gre.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/package/network/config/gre/Makefile b/package/network/config/gre/Makefile index 90f92d4..9193f5c 100644 --- a/package/network/config/gre/Makefile +++ b/package/network/config/gre/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=gre PKG_VERSION:=1 -PKG_RELEASE:=6 +PKG_RELEASE:=7 PKG_LICENSE:=GPL-2.0 include $(INCLUDE_DIR)/package.mk diff --git a/package/network/config/gre/files/gre.sh b/package/network/config/gre/files/gre.sh index cd327ea..3301cee 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" |