diff options
author | jim-p <jimp@pfsense.org> | 2010-06-01 12:49:06 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-06-01 12:50:03 -0400 |
commit | 99f4210976a05e0450ab6d5df2b7c8cf87c29099 (patch) | |
tree | 1c10631d4a8b13da1ea04fa02b5127557d47978d /etc/rc.halt | |
parent | 651e77c6f7c5d2250c69aeb1a3b3355439fcfec9 (diff) | |
download | pfsense-99f4210976a05e0450ab6d5df2b7c8cf87c29099.zip pfsense-99f4210976a05e0450ab6d5df2b7c8cf87c29099.tar.gz |
Send TERM to sshd during shutdown/reboot to ensure that client sessions are kicked properly. Fixes #626.
Diffstat (limited to 'etc/rc.halt')
-rwxr-xr-x | etc/rc.halt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc.halt b/etc/rc.halt index 4f3d1ef..d208ccd 100755 --- a/etc/rc.halt +++ b/etc/rc.halt @@ -9,5 +9,7 @@ fi sleep 1 +killall -TERM sshd 2>&1 /dev/null + /sbin/shutdown -p now |