On Friday 10 July 2009 04:25:26 Geoff Levand wrote: > 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.lev...@am.sony.com> > --- > package/base-files/files/usr/share/udhcpc/default.script | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > --- a/package/base-files/files/usr/share/udhcpc/default.script > +++ b/package/base-files/files/usr/share/udhcpc/default.script > @@ -126,9 +126,9 @@ for ifc in $interfaces; 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 > > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Applied in r16815. Thanks for your contribution! Regards, Vasilis
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel