[OpenWrt-Devel] [PATCH 2/2] netifd, lldpd, rpcd, log: use generic service_running
Petr Štetiar
ynezz at true.cz
Tue Jul 23 08:02:56 EDT 2019
Yousong Zhou <yszhou4tech at gmail.com> [2019-07-23 19:51:34]:
> > -service_running() {
> > - ubus -t 30 wait_for network.interface
> > - /sbin/wifi reload_legacy
> > -}
> > -
>
> Likely we should keep this. If not, a note in the commit message could help.
It's broken anyway:
$ /etc/init.d/network stop; service network running && echo "yes" || echo "nope"
Command failed: Request timed out
yes
I'll add this information to the commit message, thanks!
-- ynezz
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list