diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-05-08 10:44:19 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-05-08 10:44:19 +0000 |
commit | 7b0bf7f37f6c4fb9163f54c1aa2a9d2c18948e6f (patch) | |
tree | 11ef7166101655b6f1bff138b62ff53cfafb8f8f /package/network/config | |
parent | 6fe1a18be00848fc6e7330b1e553634772fb900a (diff) | |
download | master-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/config')
-rwxr-xr-x | package/network/config/netifd/files/lib/netifd/dhcp.script | 2 |
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 |