mirror of https://github.com/hak5/openwrt.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 <geoffrey.levand@am.sony.com> SVN-Revision: 16815lede-17.01
parent
a4ed68fbe4
commit
e5b097425d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue