mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add kill ghosts script
This commit is contained in:
parent
6359a8974a
commit
d77a09a475
5
usr/local/bin/kill_ghosts.sh
Executable file
5
usr/local/bin/kill_ghosts.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
# Kill ghost shells
|
||||
|
||||
/bin/kill -9 `/bin/ps awux | grep "(sh)" | /usr/bin/grep -v grep | /usr/bin/cut -d" " -f5`
|
||||
|
||||
Loading…
Reference in New Issue
Block a user