From 5bb744323a2dc400fe7fb38367524db2f4f35cca Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 8 May 2015 10:44:19 +0000 Subject: [PATCH] netifd-dhcp: supply parameters to user-script hand over parameters to user-script e.g. $1=deconfig Signed-off-by: Leon George Signed-off-by: Christian Mehlis git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45626 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/network/config/netifd/files/lib/netifd/dhcp.script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/config/netifd/files/lib/netifd/dhcp.script b/package/network/config/netifd/files/lib/netifd/dhcp.script index 5b77f306f7..b3a61e2750 100755 --- a/package/network/config/netifd/files/lib/netifd/dhcp.script +++ b/package/network/config/netifd/files/lib/netifd/dhcp.script @@ -97,6 +97,6 @@ case "$1" in esac # user rules -[ -f /etc/udhcpc.user ] && . /etc/udhcpc.user +[ -f /etc/udhcpc.user ] && . /etc/udhcpc.user "$@" exit 0 -- 2.11.0