From: Felix Fietkau Date: Fri, 8 May 2015 10:44:19 +0000 (+0000) Subject: netifd-dhcp: supply parameters to user-script X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bf84a53f9bf14d2cb4c9bcfa31f8c93791417b48;p=librecmc%2Flibrecmc.git 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 SVN-Revision: 45626 --- 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