Fix init script and rebuild.

This commit is contained in:
Tom G. Christensen 2007-10-25 08:38:42 +00:00 committed by tgc
parent 191940fe55
commit c9a7103f47
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
# Check the following 4 variables before running the script # Check the following 4 variables before running the script
topdir=openssh topdir=openssh
version=4.7p1 version=4.7p1
pkgver=1 pkgver=2
source[0]=$topdir-$version.tar.gz source[0]=$topdir-$version.tar.gz
# If there are no patches, simply comment this # If there are no patches, simply comment this
#patch[0]= #patch[0]=

View File

@ -14,7 +14,7 @@ kill_sshd()
sshd_pid=`cat $pidfile` sshd_pid=`cat $pidfile`
ps -p $sshd_pid | grep sshd > /dev/null ps -p $sshd_pid | grep sshd > /dev/null
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
/usr/bin/kill -15 -$sshd_pid /usr/bin/kill -15 $sshd_pid
fi fi
fi fi
} }