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
This commit is contained in:
Felix Fietkau 2015-05-08 10:44:19 +00:00
parent 9bb7046a19
commit bf84a53f9b

View file

@ -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