aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/upgrade
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2021-02-09 16:10:10 +0100
committerPaul Spooren <mail@aparcar.org>2021-06-20 15:15:32 -1000
commit40f533b73e6cfd7376cc6a0bbef9af46c8fbed86 (patch)
treefa2ac45d55b86f5fce57b7af4c697b56cb86f580 /package/base-files/files/lib/upgrade
parentd8bfcc59b03ea1ad2af5ee7ca99688815e386bcb (diff)
downloadupstream-40f533b73e6cfd7376cc6a0bbef9af46c8fbed86.tar.gz
upstream-40f533b73e6cfd7376cc6a0bbef9af46c8fbed86.tar.bz2
upstream-40f533b73e6cfd7376cc6a0bbef9af46c8fbed86.zip
base-files: redirect kill ouptut for ash, telnetd and dropbear
If one of the programmes is not running, then we see the following output in the logs. `killall: telnetd: no process killed` To ensure that the log is clean, redirect the output to /dev/null Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'package/base-files/files/lib/upgrade')
-rwxr-xr-xpackage/base-files/files/lib/upgrade/stage26
1 files changed, 3 insertions, 3 deletions
diff --git a/package/base-files/files/lib/upgrade/stage2 b/package/base-files/files/lib/upgrade/stage2
index f2f3cd439a..13c3622f38 100755
--- a/package/base-files/files/lib/upgrade/stage2
+++ b/package/base-files/files/lib/upgrade/stage2
@@ -137,9 +137,9 @@ for service in /etc/init.d/*; do
ubus call service delete '{ "name": "'"$service"'" }' 2>/dev/null
done
-killall -9 telnetd
-killall -9 dropbear
-killall -9 ash
+killall -9 telnetd 2>/dev/null
+killall -9 dropbear 2>/dev/null
+killall -9 ash 2>/dev/null
kill_remaining TERM
sleep 4