aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-05-08 10:44:19 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-05-08 10:44:19 +0000
commit7b0bf7f37f6c4fb9163f54c1aa2a9d2c18948e6f (patch)
tree11ef7166101655b6f1bff138b62ff53cfafb8f8f /package/network
parent6fe1a18be00848fc6e7330b1e553634772fb900a (diff)
downloadmaster-187ad058-7b0bf7f37f6c4fb9163f54c1aa2a9d2c18948e6f.tar.gz
master-187ad058-7b0bf7f37f6c4fb9163f54c1aa2a9d2c18948e6f.tar.bz2
master-187ad058-7b0bf7f37f6c4fb9163f54c1aa2a9d2c18948e6f.zip
netifd-dhcp: supply parameters to user-script
hand over parameters to user-script e.g. $1=deconfig Signed-off-by: Leon George <leon@georgemail.de> Signed-off-by: Christian Mehlis <christian@m3hlis.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45626 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network')
-rwxr-xr-xpackage/network/config/netifd/files/lib/netifd/dhcp.script2
1 files changed, 1 insertions, 1 deletions
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