openwrt/package/base-files/files/etc
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
..
board.d treewide: remove execute bit and shebang from board.d files 2021-03-06 11:30:06 +01:00
hotplug.d/net
init.d base-files: add new application led trigger backend 2021-03-05 00:10:06 -10:00
iproute2
rc.button
sysctl.d
uci-defaults
banner
banner.failsafe
device_info
diag.sh
ethers
fstab
group
hosts
inittab
openwrt_release
openwrt_version
os-release
passwd
preinit
profile
protocols
rc.common
rc.local
services
shadow
shells
shinit base-files: fix status display command 2021-04-03 18:56:02 +02:00
sysctl.conf
sysupgrade.conf