openwrt/package
Florian Eckert dbe2a6343f base-files: fix service_running check
The following command checks if a instance of a service is running.
/etc/init.d/<service> running <instance>

 In the variable `$@`, which is passed to the function
`service_running`, the first argument is always the `instance` which
should be checked. Because all other variables where removed from `$@`
with `shift`.

Before this change the first argument of `$@` was set to the `$service`
Variable. So the function does not work as expected. The `$service`
variable was always the instance which should be checked. This is not
what we want.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Reviewed-by: Sungbo Eo <mans0n@gorani.run>
(cherry picked from commit dd681838d3)
2021-12-29 21:40:40 +01:00
..
base-files base-files: fix service_running check 2021-12-29 21:40:40 +01:00
boot uboot-lantiq: danube: fix hanging lzma kernel uncompression #2 2021-11-27 23:00:31 +01:00
devel binutils: fix libbfd missing DSO dependency if NLS enabled 2021-04-10 14:22:28 +02:00
firmware wireless-regdb: update to version 2021.08.28 2021-11-07 19:21:40 +01:00
kernel mac80211: optimize airtime fairness code to reduce cpu usage 2021-12-21 12:58:22 +01:00
libs libpcap: add rpcapd as package 2021-11-05 21:24:04 +01:00
network hostapd: only attempt to set qos map if supported by the driver 2021-12-23 19:20:34 +01:00
system treewide: unmark selected packages nonshared 2021-07-02 18:15:02 +02:00
utils bcm4908img: detect Linksys images 2021-12-13 14:33:06 +01:00
Makefile build: always build package/kernel/linux 2020-10-15 13:25:58 +02:00