Accepting request 266606 from network
1 OBS-URL: https://build.opensuse.org/request/show/266606 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openssh?expand=0&rev=101
This commit is contained in:
commit
a152efbbef
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 27 23:45:00 UTC 2014 - Led <ledest@gmail.com>
|
||||||
|
|
||||||
|
- fix bashisms in sshd.init script
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 8 10:12:40 UTC 2014 - werner@suse.de
|
Wed Oct 8 10:12:40 UTC 2014 - werner@suse.de
|
||||||
|
|
||||||
|
@ -39,12 +39,12 @@ SSHD_PIDFILE=/var/run/sshd.init.pid
|
|||||||
# rc_reset clear local rc status (overall remains)
|
# rc_reset clear local rc status (overall remains)
|
||||||
# rc_exit exit appropriate to overall rc status
|
# rc_exit exit appropriate to overall rc status
|
||||||
|
|
||||||
function soft_stop () {
|
soft_stop() {
|
||||||
echo -n "Shutting down the listening SSH daemon"
|
echo -n "Shutting down the listening SSH daemon"
|
||||||
killproc -p $SSHD_PIDFILE -TERM $SSHD_BIN
|
killproc -p $SSHD_PIDFILE -TERM $SSHD_BIN
|
||||||
}
|
}
|
||||||
|
|
||||||
function force_stop () {
|
force_stop() {
|
||||||
echo -n "Shutting down SSH daemon *with all active connections*"
|
echo -n "Shutting down SSH daemon *with all active connections*"
|
||||||
trap '' TERM
|
trap '' TERM
|
||||||
killall sshd 2>/dev/null
|
killall sshd 2>/dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user