mirror of
https://github.com/unraid/webgui.git
synced 2026-01-10 03:30:03 -06:00
Update rc.sshd
This commit is contained in:
@@ -24,7 +24,7 @@ SSH_ETC="/etc/ssh"
|
||||
sshd_running(){
|
||||
sleep 0.1
|
||||
# get all pids from sshd
|
||||
[[ $(pgrep -ns $$ -cf $SSHD) -gt 0 ]]
|
||||
[[ $(pgrep --ns $$ -cf $SSHD) -gt 0 ]]
|
||||
}
|
||||
|
||||
sshd_build(){
|
||||
|
||||
Reference in New Issue
Block a user