mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-12 23:44:26 +00:00
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> Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
parent
b196a685cf
commit
966e1eff98
@ -137,9 +137,9 @@ for service in /etc/init.d/*; do
|
|||||||
ubus call service delete '{ "name": "'"$service"'" }' 2>/dev/null
|
ubus call service delete '{ "name": "'"$service"'" }' 2>/dev/null
|
||||||
done
|
done
|
||||||
|
|
||||||
killall -9 telnetd
|
killall -9 telnetd 2>/dev/null
|
||||||
killall -9 dropbear
|
killall -9 dropbear 2>/dev/null
|
||||||
killall -9 ash
|
killall -9 ash 2>/dev/null
|
||||||
|
|
||||||
kill_remaining TERM
|
kill_remaining TERM
|
||||||
sleep 4
|
sleep 4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user