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 | bf84a53f9bf14d2cb4c9bcfa31f8c93791417b48 (patch) | |
tree | 4e185f13c5ad95b801c7e8803e5c1d938c4a3dec | |
parent | 9bb7046a19e27a8a0181a1f80f65dead3a049bb3 (diff) | |
download | upstream-bf84a53f9bf14d2cb4c9bcfa31f8c93791417b48.tar.gz upstream-bf84a53f9bf14d2cb4c9bcfa31f8c93791417b48.tar.bz2 upstream-bf84a53f9bf14d2cb4c9bcfa31f8c93791417b48.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>
SVN-Revision: 45626
-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 |