From c9a7103f47826c5992fb87cf48cd7e456fec8749 Mon Sep 17 00:00:00 2001 From: "Tom G. Christensen" Date: Thu, 25 Oct 2007 08:38:42 +0000 Subject: [PATCH] Fix init script and rebuild. --- openssh/build.sh | 2 +- openssh/src/sshd.init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openssh/build.sh b/openssh/build.sh index d2f692f..5a9024e 100755 --- a/openssh/build.sh +++ b/openssh/build.sh @@ -10,7 +10,7 @@ # Check the following 4 variables before running the script topdir=openssh version=4.7p1 -pkgver=1 +pkgver=2 source[0]=$topdir-$version.tar.gz # If there are no patches, simply comment this #patch[0]= diff --git a/openssh/src/sshd.init b/openssh/src/sshd.init index 8821178..d3fb915 100755 --- a/openssh/src/sshd.init +++ b/openssh/src/sshd.init @@ -14,7 +14,7 @@ kill_sshd() sshd_pid=`cat $pidfile` ps -p $sshd_pid | grep sshd > /dev/null if [ $? -eq 0 ]; then - /usr/bin/kill -15 -$sshd_pid + /usr/bin/kill -15 $sshd_pid fi fi }