From 57cd084ff2f96f001045a8849b68877e9db2f6d0 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Sat, 25 May 2013 22:15:39 +0200 Subject: rcdscripts: start deprecating /usr/sbin The following scripts were found to be broken due to binaries being moved to /usr/bin: acpid, alsa, fancontrol, sensord, healthd, sshd, rfkill and syslog-ng. I do not doubt several more daemons were moved to /usr/bin already. But there are 230 services in this package and I can't test them all. --- src/openssh/sshd-close-sessions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/openssh/sshd-close-sessions') diff --git a/src/openssh/sshd-close-sessions b/src/openssh/sshd-close-sessions index be2a709..4291cc1 100755 --- a/src/openssh/sshd-close-sessions +++ b/src/openssh/sshd-close-sessions @@ -7,7 +7,7 @@ sshd_close_sessions () { /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 + if readlink -q /proc/$i/exe | grep -q '^/usr/bin/sshd'; then kill $i fi done &>/dev/null -- cgit v1.2.3