summaryrefslogtreecommitdiffstats
path: root/abs/core/openssh/sshd.close-sessions
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2014-02-16 23:56:35 (GMT)
committerJames Meyer <james.meyer@operamail.com>2014-02-19 19:03:04 (GMT)
commit374948afc489b11508c1e9109de0e1da54df4983 (patch)
treec472e0fc17175bef573b7fc1f9477a079ffbfa2b /abs/core/openssh/sshd.close-sessions
parent10365dc137276fa2793d41606cb0d7047506d3ad (diff)
downloadlinhes_pkgbuild-374948afc489b11508c1e9109de0e1da54df4983.zip
linhes_pkgbuild-374948afc489b11508c1e9109de0e1da54df4983.tar.gz
linhes_pkgbuild-374948afc489b11508c1e9109de0e1da54df4983.tar.bz2
openssh: 6.4
update binary path to /usr/bin refs #961
Diffstat (limited to 'abs/core/openssh/sshd.close-sessions')
-rw-r--r--abs/core/openssh/sshd.close-sessions17
1 files changed, 0 insertions, 17 deletions
diff --git a/abs/core/openssh/sshd.close-sessions b/abs/core/openssh/sshd.close-sessions
deleted file mode 100644
index be2a709..0000000
--- a/abs/core/openssh/sshd.close-sessions
+++ /dev/null
@@ -1,17 +0,0 @@
-# Close sshd sessions before shutting down the network; see FS#17389.
-
-sshd_close_sessions () {
- if ck_daemon sshd; then
- return
- fi
- /etc/rc.d/sshd stop
- stat_busy "Stopping Secure Shell Sessions"
- for i in $(pgrep sshd); do
- if readlink -q /proc/$i/exe | grep -q '^/usr/sbin/sshd'; then
- kill $i
- fi
- done &>/dev/null
- stat_done
-}
-
-add_hook shutdown_start sshd_close_sessions