openwrt/package/base-files
Alexander Egorenkov eaf19220b6 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>
(cherry picked from commit 9318f61556)
2021-04-18 12:05:54 +02:00
..
files base-files: fix status display command 2021-04-18 12:05:54 +02:00
image-config.in OpenWrt v21.02: set branch defaults 2021-02-16 02:21:33 +01:00
Makefile base-files: bump Copyright to 2021 2021-01-26 17:30:09 -10:00