diff options
author | Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> | 2009-07-12 15:38:04 +0000 |
---|---|---|
committer | Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> | 2009-07-12 15:38:04 +0000 |
commit | 9c486095046f5e51fc795b91d31f2f0ef234534f (patch) | |
tree | a93498ffce74592334e4704a7b0f26d75c6d953f /package/base-files/files/usr/share/udhcpc/default.script | |
parent | 01b07444c784f3a67ec552e6f1d9a22927e73576 (diff) | |
download | upstream-9c486095046f5e51fc795b91d31f2f0ef234534f.tar.gz upstream-9c486095046f5e51fc795b91d31f2f0ef234534f.tar.bz2 upstream-9c486095046f5e51fc795b91d31f2f0ef234534f.zip |
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 <geoffrey.levand@am.sony.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16815 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/usr/share/udhcpc/default.script')
-rwxr-xr-x | package/base-files/files/usr/share/udhcpc/default.script | 6 |
1 files changed, 3 insertions, 3 deletions
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 |