diff options
author | 2003-10-06 19:40:47 +0000 | |
---|---|---|
committer | 2003-10-06 19:40:47 +0000 | |
commit | 6b06ef58b29769e6d0b2085a39c28102911d938c (patch) | |
tree | 878ccedac7fb23b2dc26093a3eae87c9d181c69e | |
parent | old (diff) | |
download | historical-6b06ef58b29769e6d0b2085a39c28102911d938c.tar.gz historical-6b06ef58b29769e6d0b2085a39c28102911d938c.tar.bz2 historical-6b06ef58b29769e6d0b2085a39c28102911d938c.zip |
workaround for #25754
-rw-r--r-- | sys-apps/netkit-base/files/inetd.rc6 | 6 | ||||
-rw-r--r-- | sys-apps/xinetd/files/xinetd.rc6 | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/sys-apps/netkit-base/files/inetd.rc6 b/sys-apps/netkit-base/files/inetd.rc6 index 3fbc4ecd1b2a..64117dfdab97 100644 --- a/sys-apps/netkit-base/files/inetd.rc6 +++ b/sys-apps/netkit-base/files/inetd.rc6 @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/netkit-base/files/inetd.rc6,v 1.2 2003/02/14 23:26:21 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/netkit-base/files/inetd.rc6,v 1.3 2003/10/06 19:40:47 vapier Exp $ depend() { need net @@ -9,7 +9,11 @@ depend() { start() { ebegin "Starting inetd" + ( + # workaround for #25754 + unset -f `declare -F | sed 's:declare -f::g'` start-stop-daemon --start --quiet --pidfile /var/run/inetd.pid --exec /usr/sbin/inetd + ) eend $? } diff --git a/sys-apps/xinetd/files/xinetd.rc6 b/sys-apps/xinetd/files/xinetd.rc6 index b46053b1b646..dd991b440e9a 100644 --- a/sys-apps/xinetd/files/xinetd.rc6 +++ b/sys-apps/xinetd/files/xinetd.rc6 @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/xinetd/files/xinetd.rc6,v 1.13 2003/05/19 16:48:39 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/xinetd/files/xinetd.rc6,v 1.14 2003/10/06 19:39:09 vapier Exp $ opts="start stop reload restart dump check" @@ -11,9 +11,12 @@ depend() { start() { ebegin "Starting xinetd" + ( + unset -f `declare -F | sed 's:declare -f::g'` start-stop-daemon --start --quiet --exec /usr/sbin/xinetd \ -- -pidfile /var/run/xinetd.pid ${XINETD_OPTS} - eend $? + ) + eend $? } stop() { |