[source] dhcpv6: add missing dollar sign in dhcpv6 script (FS#874)

LEDE Commits lede-commits at lists.infradead.org
Thu Jun 29 01:05:18 PDT 2017


dedeckeh pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/cca765f64c5577b911f1a04a3cef60cf7a745d4b

commit cca765f64c5577b911f1a04a3cef60cf7a745d4b
Author: Hans Dedecker <dedeckeh at gmail.com>
AuthorDate: Thu Jun 29 09:41:59 2017 +0200

    dhcpv6: add missing dollar sign in dhcpv6 script (FS#874)
    
    Signed-off-by: Hans Dedecker <dedeckeh at gmail.com>
---
 package/network/ipv6/odhcp6c/Makefile            | 2 +-
 package/network/ipv6/odhcp6c/files/dhcpv6.script | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/network/ipv6/odhcp6c/Makefile b/package/network/ipv6/odhcp6c/Makefile
index 0ed9b58..8b97e1f 100644
--- a/package/network/ipv6/odhcp6c/Makefile
+++ b/package/network/ipv6/odhcp6c/Makefile
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=odhcp6c
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=$(LEDE_GIT)/project/odhcp6c.git
diff --git a/package/network/ipv6/odhcp6c/files/dhcpv6.script b/package/network/ipv6/odhcp6c/files/dhcpv6.script
index 1bb5e77..ab0b556 100755
--- a/package/network/ipv6/odhcp6c/files/dhcpv6.script
+++ b/package/network/ipv6/odhcp6c/files/dhcpv6.script
@@ -214,6 +214,6 @@ case "$2" in
 esac
 
 # user rules
-[ -f /etc/odhcp6c.user ] && . /etc/odhcp6c.user "@"
+[ -f /etc/odhcp6c.user ] && . /etc/odhcp6c.user "$@"
 
 exit 0



More information about the lede-commits mailing list