From c00691fb6460b932d6b8c8c7b905c97822e55752d09c44c286f646e3df29b51b Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 29 Dec 2014 09:01:00 +0000 Subject: [PATCH] Accepting request 266550 from home:Ledest:bashisms fix bashisms in sshd.init script OBS-URL: https://build.opensuse.org/request/show/266550 OBS-URL: https://build.opensuse.org/package/show/network/openssh?expand=0&rev=88 --- openssh.changes | 5 +++++ sshd.init | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/openssh.changes b/openssh.changes index 41b7854..7fa37e8 100644 --- a/openssh.changes +++ b/openssh.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Dec 27 23:45:00 UTC 2014 - Led + +- fix bashisms in sshd.init script + ------------------------------------------------------------------- Wed Oct 8 10:12:40 UTC 2014 - werner@suse.de diff --git a/sshd.init b/sshd.init index e42bb7a..92d9589 100644 --- a/sshd.init +++ b/sshd.init @@ -39,12 +39,12 @@ SSHD_PIDFILE=/var/run/sshd.init.pid # rc_reset clear local rc status (overall remains) # rc_exit exit appropriate to overall rc status -function soft_stop () { +soft_stop() { echo -n "Shutting down the listening SSH daemon" killproc -p $SSHD_PIDFILE -TERM $SSHD_BIN } -function force_stop () { +force_stop() { echo -n "Shutting down SSH daemon *with all active connections*" trap '' TERM killall sshd 2>/dev/null