X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=src%2Finitscripts%2Fsystem%2Fsshd;fp=src%2Finitscripts%2Fsystem%2Fsshd;h=c3c02adc1b45056674b3c307320b58b958cb245a;hb=acc8336f945b66d66fc15417905ce6bf2707876f;hp=7b4092d38dd62bc6c3381fb6561b57410cdb00dd;hpb=201ad7ff80eb8870aab2b903be6eb7aea2adf563;p=people%2Fpmueller%2Fipfire-2.x.git diff --git a/src/initscripts/system/sshd b/src/initscripts/system/sshd index 7b4092d38d..c3c02adc1b 100644 --- a/src/initscripts/system/sshd +++ b/src/initscripts/system/sshd @@ -25,7 +25,7 @@ case "$1" in [ -e "/var/ipfire/remote/enablessh" ] || exit 0 # SSH is not enabled boot_mesg "Starting SSH Server..." - loadproc /usr/sbin/sshd + loadproc -f /usr/sbin/sshd # Also prevent ssh from being killed by out of memory conditions ( @@ -37,7 +37,7 @@ case "$1" in stop) boot_mesg "Stopping SSH Server..." - killproc /usr/sbin/sshd + killproc -p "/var/run/sshd.pid" /usr/sbin/sshd ;; reload)