netifd,lldpd,rpcd,log: use generic service_running
authorPetr Štetiar <ynezz@true.cz>
Tue, 23 Jul 2019 10:16:03 +0000 (12:16 +0200)
committerPetr Štetiar <ynezz@true.cz>
Sun, 15 Sep 2019 20:53:01 +0000 (22:53 +0200)
commit296e1f253c77a2cbf5364a0e9f83fd9946ce9dbf
treef31ee69708c154336c1726b0304c5d6ed2ecdadf
parent7519a36774ca0e50dfae6a4b9fea75cab95171a5
netifd,lldpd,rpcd,log: use generic service_running

commit eb204d14f75c ("base-files: implement generic service_running")
introduced generic service_running so it's not needed to copy&paste same
3 lines over and over again.

I've removed service_running from netifd/network init script as well,
because it was not working properly, looked quite strange and I didn't
understand the intention:

 $ /etc/init.d/network stop
 $ service network running && echo "yes" || echo "nope"
     ( have to wait for 30s )
 Command failed: Request timed out
 yes

Signed-off-by: Petr Štetiar <ynezz@true.cz>
package/network/config/netifd/files/etc/init.d/network
package/network/services/lldpd/files/lldpd.init
package/system/rpcd/files/rpcd.init
package/system/ubox/files/log.init