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

LEDE Commits lede-commits at lists.infradead.org
Thu Jun 29 00:58:51 PDT 2017


dedeckeh pushed a commit to source.git, branch master:
https://git.lede-project.org/1d45ec2784b0706d7c596825160a6e51b0830dbc

commit 1d45ec2784b0706d7c596825160a6e51b0830dbc
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 fb68a58..6671e01 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