diff options
author | Alexander Egorenkov <egorenar-dev@posteo.net> | 2021-03-28 10:45:08 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2021-04-18 12:05:54 +0200 |
commit | eaf19220b67d83c4c596fa21890abf5af9b4a610 (patch) | |
tree | 1b3e28a8ff8785e21ad885ceac8521b54c4e24e0 /package/firmware/lantiq | |
parent | ab610f5af30bbdd937f4e8d93bb718b25b589d00 (diff) | |
download | upstream-eaf19220b67d83c4c596fa21890abf5af9b4a610.tar.gz upstream-eaf19220b67d83c4c596fa21890abf5af9b4a610.tar.bz2 upstream-eaf19220b67d83c4c596fa21890abf5af9b4a610.zip |
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 9318f61556c5443eb66eec7e26715b00f0df86fc)
Diffstat (limited to 'package/firmware/lantiq')
0 files changed, 0 insertions, 0 deletions