1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 21:09:53 +02:00

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
This commit is contained in:
acinonyx 2009-07-12 15:38:04 +00:00
parent 90951f130b
commit 7c0132efd3

View File

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