Bugzilla – Attachment 2203 Details for
Bug 2056
Consistently use SSHD_BIN in SuSE initscript
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Use SSHD_BIN instead of /usr/sbin/sshd
suse-init.diff (text/plain), 1.25 KB, created by
Iain Morgan
on 2013-01-05 06:51:02 AEDT
(
hide
)
Description:
Use SSHD_BIN instead of /usr/sbin/sshd
Filename:
MIME Type:
Creator:
Iain Morgan
Created:
2013-01-05 06:51:02 AEDT
Size:
1.25 KB
patch
obsolete
>Index: contrib/suse/rc.sshd >=================================================================== >RCS file: /cvs/openssh/contrib/suse/rc.sshd,v >retrieving revision 1.4 >diff -u -r1.4 rc.sshd >--- contrib/suse/rc.sshd 12 Aug 2011 01:02:37 -0000 1.4 >+++ contrib/suse/rc.sshd 3 Jan 2013 21:07:19 -0000 >@@ -49,7 +49,7 @@ > ## Start daemon with startproc(8). If this fails > ## the echo return value is set appropriate. > >- startproc -f -p $SSHD_PIDFILE /usr/sbin/sshd $SSHD_OPTS -o "PidFile=$SSHD_PIDFILE" >+ startproc -f -p $SSHD_PIDFILE $SSHD_BIN $SSHD_OPTS -o "PidFile=$SSHD_PIDFILE" > > # Remember status and be verbose > rc_status -v >@@ -59,7 +59,7 @@ > ## Stop daemon with killproc(8) and if this fails > ## set echo the echo return value. > >- killproc -p $SSHD_PIDFILE -TERM /usr/sbin/sshd >+ killproc -p $SSHD_PIDFILE -TERM $SSHD_BIN > > # Remember status and be verbose > rc_status -v >@@ -87,7 +87,7 @@ > > echo -n "Reload service sshd" > >- killproc -p $SSHD_PIDFILE -HUP /usr/sbin/sshd >+ killproc -p $SSHD_PIDFILE -HUP $SSHD_BIN > > rc_status -v > >@@ -103,7 +103,7 @@ > # 2 - service dead, but /var/lock/ lock file exists > # 3 - service not running > >- checkproc -p $SSHD_PIDFILE /usr/sbin/sshd >+ checkproc -p $SSHD_PIDFILE $SSHD_BIN > > rc_status -v > ;;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2056
: 2203