mirror of https://github.com/hak5/openwrt-owl.git
parent
39b3bfcf6a
commit
ef6d7a7e33
|
@ -79,7 +79,7 @@ run_ramfs() { # <command> [...]
|
||||||
|
|
||||||
kill_remaining() { # [ <signal> ]
|
kill_remaining() { # [ <signal> ]
|
||||||
local sig="${1:-TERM}"
|
local sig="${1:-TERM}"
|
||||||
echo -n "Sending $sig to remaing processes ... "
|
echo -n "Sending $sig to remaining processes ... "
|
||||||
top -bn1 | while read pid ppid user stat vsz pvsz pcpu cmd args; do
|
top -bn1 | while read pid ppid user stat vsz pvsz pcpu cmd args; do
|
||||||
case "$pid" in
|
case "$pid" in
|
||||||
[0-9]*) : ;;
|
[0-9]*) : ;;
|
||||||
|
|
Loading…
Reference in New Issue