openwrt/package/base-files/files
Alexander Egorenkov 9318f61556 base-files: fix status display command
If service() is called w/o parameter then the status display for services
with multiple instances is incorrect. E.g. samba4 or wpad have 2 instances.

root@OpenWrt:~# /etc/init.d/samba4 status
running
root@OpenWrt:~# /etc/init.d/wpad status
running

Before change:
/etc/init.d/samba4                 enabled         stopped
/etc/init.d/wpad                   enabled         stopped

After change:
/etc/init.d/samba4                 enabled         running
/etc/init.d/wpad                   enabled         running

Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
2021-04-03 18:56:02 +02:00
..
bin
etc base-files: fix status display command 2021-04-03 18:56:02 +02:00
lib base-files: functions: introduce new helper functions 2021-03-31 16:53:39 +01:00
rom
sbin base-files: add logging for configuration import 2021-03-21 22:45:20 +01:00
usr