summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-10-06 19:42:06 +0000
committerMike Frysinger <vapier@gentoo.org>2003-10-06 19:42:06 +0000
commite44d1888c0e14dd292e6d724cba4cc8e08fbb963 (patch)
tree381d2cd2b6772213774ca3a99af7ac241493ec39 /sys-apps/netkit-base
parentworkaround for #25754 (diff)
downloadgentoo-2-e44d1888c0e14dd292e6d724cba4cc8e08fbb963.tar.gz
gentoo-2-e44d1888c0e14dd292e6d724cba4cc8e08fbb963.tar.bz2
gentoo-2-e44d1888c0e14dd292e6d724cba4cc8e08fbb963.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 $?
}