Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 539 - an init script for inetd
Summary: an init script for inetd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Normal enhancement (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-05 04:35 UTC by Travis Tilley
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
inetd init script (inetd,411 bytes, text/plain)
2002-02-05 04:36 UTC, Travis Tilley
Details

Note You need to log in before you can comment on or make changes to this bug.
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!