summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Portnoy <avenj@gentoo.org>2003-12-11 16:35:41 +0000
committerJon Portnoy <avenj@gentoo.org>2003-12-11 16:35:41 +0000
commit1b00278609d6f91324a94159b2c2f55763eac599 (patch)
tree3abb44ad6d18088393d6a743f0eea4548208c597 /net-misc/portfwd
parentvcron removed in favour of vixie-cron (diff)
downloadgentoo-2-1b00278609d6f91324a94159b2c2f55763eac599.tar.gz
gentoo-2-1b00278609d6f91324a94159b2c2f55763eac599.tar.bz2
gentoo-2-1b00278609d6f91324a94159b2c2f55763eac599.zip
init script fix, bug 33994
Diffstat (limited to 'net-misc/portfwd')
-rw-r--r--net-misc/portfwd/ChangeLog5
-rw-r--r--net-misc/portfwd/Manifest4
-rw-r--r--net-misc/portfwd/files/portfwd.init4
3 files changed, 8 insertions, 5 deletions
diff --git a/net-misc/portfwd/ChangeLog b/net-misc/portfwd/ChangeLog
index 892c3c8b7edb..229279f2b7ab 100644
--- a/net-misc/portfwd/ChangeLog
+++ b/net-misc/portfwd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/portfwd
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/portfwd/ChangeLog,v 1.4 2003/12/03 21:23:14 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/portfwd/ChangeLog,v 1.5 2003/12/11 16:35:38 avenj Exp $
+
+ 11 Dec 2003; Jon Portnoy <avenj@gentoo.org> files/portfwd.init :
+ Another fix, bug 33994.
*portfwd-0.26_rc6-r1 (03 Dec 2003)
diff --git a/net-misc/portfwd/Manifest b/net-misc/portfwd/Manifest
index 55fcd3ad25f9..5aba5253ecd8 100644
--- a/net-misc/portfwd/Manifest
+++ b/net-misc/portfwd/Manifest
@@ -1,7 +1,7 @@
MD5 9da84ecbe70e49ec92b26196c23c5143 portfwd-0.26_rc6.ebuild 1548
-MD5 e5e5e58cdea81c2093fbe4db34795a59 ChangeLog 801
+MD5 f121e6f23715368fe7d0b5cad4b51380 ChangeLog 893
MD5 0fe8ca65a96b8d81ae11da21d271bee5 portfwd-0.26_rc6-r1.ebuild 1544
-MD5 c830fd70af9bf03fed1479a0a03ceb52 files/portfwd.init 896
+MD5 7c64afbfbb0d3db626e3621425e9ce82 files/portfwd.init 882
MD5 3e26912825dccefb4a4474400d2c7eb6 files/digest-portfwd-0.26_rc6 67
MD5 2e5d079e07d2511ef3695aa36140dc2f files/portfwd.confd 55
MD5 3e26912825dccefb4a4474400d2c7eb6 files/digest-portfwd-0.26_rc6-r1 67
diff --git a/net-misc/portfwd/files/portfwd.init b/net-misc/portfwd/files/portfwd.init
index f9c4bd7922f0..122cf83c1e55 100644
--- a/net-misc/portfwd/files/portfwd.init
+++ b/net-misc/portfwd/files/portfwd.init
@@ -1,5 +1,5 @@
#!/sbin/runscript
-# $Header: /var/cvsroot/gentoo-x86/net-misc/portfwd/files/portfwd.init,v 1.3 2003/12/03 21:22:18 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/portfwd/files/portfwd.init,v 1.4 2003/12/11 16:35:38 avenj Exp $
depend() {
need net
@@ -18,7 +18,7 @@ start() {
ebegin "Starting portfwd"
start-stop-daemon --start --quiet --pidfile /var/run/portfwd.pid --exec /usr/sbin/portfwd -- ${PORTFWD_OPTS}
- _pid="`ps --no-heading -C 'portfwd' -o pid | head -n 1`"
+ _pid="`ps -C portfwd -o pid= | head -n 1`"
if [ -n "$_pid" ] ; then
echo "${_pid/ /}" > /var/run/portfwd.pid
eend 0