Skip to content
Snippets Groups Projects
Verified Commit b16a949d authored by Josef Schlehofer's avatar Josef Schlehofer
Browse files

patches: openwrt: dnsmasq change PKG_RELEASE

parent f405c2be
1 merge request!123Turris OS 5.0 (HBK)
......@@ -16,9 +16,9 @@ index 1710ded..419526b 100644
PKG_NAME:=dnsmasq
PKG_UPSTREAM_VERSION:=2.80
PKG_VERSION:=$(subst test,~~test,$(subst rc,~rc,$(PKG_UPSTREAM_VERSION)))
-PKG_RELEASE:=11
+PKG_RELEASE:=12
-PKG_RELEASE:=12
+PKG_RELEASE:=13
PKG_SOURCE:=$(PKG_NAME)-$(PKG_UPSTREAM_VERSION).tar.xz
PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq
diff --git a/package/network/services/dnsmasq/files/dhcp-script.sh b/package/network/services/dnsmasq/files/dhcp-script.sh
......@@ -27,7 +27,7 @@ index 8603269..a52e6eb 100755
+++ b/package/network/services/dnsmasq/files/dhcp-script.sh
@@ -1,6 +1,16 @@
#!/bin/sh
-[ -f "$USER_DHCPSCRIPT" ] && . "$USER_DHCPSCRIPT" "$@"
+if [ -f "$USER_DHCPSCRIPT" ]; then
+ filename=$(basename "$USER_DHCPSCRIPT")
......@@ -40,9 +40,8 @@ index 8603269..a52e6eb 100755
+fi
+
+
case "$1" in
add)
--
--
2.7.4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment