From: Vasilis Tsiligiannis Date: Sun, 12 Jul 2009 15:38:04 +0000 (+0000) Subject: udhcpc: Pass all events to udhcpc.user X-Git-Tag: reboot~22976 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e5b097425d65e1f3d215fc10b85d4918ca80e652;p=openwrt%2Fstaging%2Flynxis.git udhcpc: Pass all events to udhcpc.user Petitboot and maybe other apps need to know when the dhcp lease is lost. Move the udhcpc.user call to send it all udhcpc events. Signed-off-by: Geoff Levand SVN-Revision: 16815 --- diff --git a/package/base-files/files/usr/share/udhcpc/default.script b/package/base-files/files/usr/share/udhcpc/default.script index 1b02c0c18f..b32b2c9f25 100755 --- a/package/base-files/files/usr/share/udhcpc/default.script +++ b/package/base-files/files/usr/share/udhcpc/default.script @@ -215,9 +215,9 @@ for ifc in $interfaces __default; do setup_interface ifup ;; esac - - # user rules - [ -f /etc/udhcpc.user ] && . /etc/udhcpc.user done +# user rules +[ -f /etc/udhcpc.user ] && . /etc/udhcpc.user + exit 0