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>

SVN-Revision: 16815
This commit is contained in:
Vasilis Tsiligiannis 2009-07-12 15:38:04 +00:00
parent a4ed68fbe4
commit e5b097425d

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