summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-10-06 19:40:47 +0000
committerMike Frysinger <vapier@gentoo.org>2003-10-06 19:40:47 +0000
commit6b06ef58b29769e6d0b2085a39c28102911d938c (patch)
tree878ccedac7fb23b2dc26093a3eae87c9d181c69e /sys-apps/netkit-base
parentold (diff)
downloadhistorical-6b06ef58b29769e6d0b2085a39c28102911d938c.tar.gz
historical-6b06ef58b29769e6d0b2085a39c28102911d938c.tar.bz2
historical-6b06ef58b29769e6d0b2085a39c28102911d938c.zip
workaround for #25754
Diffstat (limited to 'sys-apps/netkit-base')
-rw-r--r--sys-apps/netkit-base/files/inetd.rc66
1 files changed, 5 insertions, 1 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 $?
}