aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc
diff options
context:
space:
mode:
authorPeter Stadler <peter.stadler@student.uibk.ac.at>2019-11-12 15:54:53 +0100
committerPetr Štetiar <ynezz@true.cz>2019-11-14 22:53:31 +0100
commit953c27df315ded7fae45daba0229ced4309e4baa (patch)
treef010d97d7acfcc995d107a0ece5f2fafb5863a25 /package/base-files/files/etc
parentfa8345539262f71a5fcc8667374b7e064dc43439 (diff)
downloadupstream-953c27df315ded7fae45daba0229ced4309e4baa.tar.gz
upstream-953c27df315ded7fae45daba0229ced4309e4baa.tar.bz2
upstream-953c27df315ded7fae45daba0229ced4309e4baa.zip
base-files: rc.common: fix missing EXTRA_HELP texts
Commit ed5b9129d7a4 ("base-files: implement generic service_running") has added EXTRA_HELP variable, thus overriding already available EXTRA_HELP text available in other init scripts, resulting in the missing help text from services like dropbear for example. So fix this regression by appending EXTRA_HELP text provided by the other init scripts into the one provided by the script itself. Fixes: ed5b9129d7a4 ("base-files: implement generic service_running") Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at> [commit title/description facelift, fixes tag, fixed From:, pkg bump] Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'package/base-files/files/etc')
-rwxr-xr-xpackage/base-files/files/etc/rc.common2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/rc.common b/package/base-files/files/etc/rc.common
index d3fa3be505..dbe26ec3bd 100755
--- a/package/base-files/files/etc/rc.common
+++ b/package/base-files/files/etc/rc.common
@@ -109,7 +109,7 @@ ${INIT_TRACE:+set -x}
EXTRA_HELP="\
running Check if service is running
status Service status
- "
+${EXTRA_HELP}"
. $IPKG_INSTROOT/lib/functions/procd.sh
basescript=$(readlink "$initscript")