Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 539

Summary: an init script for inetd
Product: Gentoo Linux Reporter: Travis Tilley <lordviram>
Component: [OLD] Core systemAssignee: Donny Davies (RETIRED) <woodchip>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: Normal    
Version: 1.0 RC6 r14   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: inetd init script

Description Travis Tilley 2002-02-05 04:35:37 UTC
this is an init script for inetd that i believe should be included in
netkit-base along with inetd. here ya go:

swift init.d # cat ./inetd 
#!/sbin/runscript
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later

depend() {
        need net
}

start() {
        ebegin "Starting inetd"
        start-stop-daemon --start --quiet --pidfile /var/run/inetd.pid --exec
/usr/sbin/inetd
        eend $? 
}

stop() {
        ebegin "Stopping inetd"
        start-stop-daemon --stop --quiet --pidfile /var/run/inetd.pid
        eend $?
}
Comment 1 Travis Tilley 2002-02-05 04:36:27 UTC
Created attachment 127 [details]
inetd init script
Comment 2 Donny Davies (RETIRED) gentoo-dev 2002-02-08 18:24:09 UTC
added.  thanks!