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 treewide: remove execute bit and shebang from board.d files 2021-03-06 11:30:06 +01:00
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 rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: add logging for configuration import 2021-03-21 22:45:20 +01:00
usr base-files: validate firmware for compatibility with backup 2019-09-08 09:10:30 +02:00