1
0
Fork 0
forked from mirror/openwrt
openwrt/package/base-files/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
..
bin base-files: allow setting device and bridge macs 2020-12-02 07:51:36 +01:00
etc base-files: fix status display command 2021-04-18 12:05:54 +02:00
lib base-files: remove execute bit and shebang from functions.sh 2021-01-29 14:30:32 +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-22 21:08:00 +01:00
usr base-files: validate firmware for compatibility with backup 2019-09-08 09:10:30 +02:00