From 7c0132efd3caf450c62f7a31d9bcafa1a5f53b39 Mon Sep 17 00:00:00 2001 From: acinonyx Date: Sun, 12 Jul 2009 15:38:04 +0000 Subject: 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16815 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/usr/share/udhcpc/default.script | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package/base-files/files/usr/share') 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 -- cgit v1.2.3