LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-12-2004, 02:26 PM   #1
xanas3712
Member
 
Registered: Apr 2004
Distribution: Slackware/Mandrake/Debian (sarge)
Posts: 266

Rep: Reputation: 30
Help, help.. I'm a moron and deleted my rc.inetd.conf


As title says that's pretty much the problem. I'm going to be stupid and assume it's possible to actually take someone elses version of this file.. I saw in the init routine that eth0 is already brought up.. so apparently this file grabs the ip address or whatever..

Beyond that.. is there a page that gives a lot of good info on these init scripts so that maybe I could know how to write them myself? The reason I deleted that one is I thought it was put there by kde when I was messing with it's system v editor program. That file just looked to be too long of a name to be real.. I'd like to re-write them at some point later so I know what all is running but don't know a place to start.. but for now I'd just like to be using slackware again and not mandrake to post.

Thanks.
 
Old 05-12-2004, 02:34 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Code:
#!/bin/sh
# Start/stop/restart inetd, the BSD Internet super-daemon.

# Start inetd:
inetd_start() {
  if [ -x /usr/sbin/inetd ]; then
    echo "Starting Internet super-server daemon:  /usr/sbin/inetd"
    /usr/sbin/inetd
  fi
}

# Stop inetd:
inetd_stop() {
  killall inetd
}

# Restart inetd:
inetd_restart() {
  inetd_stop
  sleep 1
  inetd_start
}

case "$1" in
'start')
  inetd_start
  ;;
'stop')
  inetd_stop
  ;;
'restart')
  inetd_restart
  ;;
*)
  echo "usage $0 start|stop|restart"
esac
better yet, here ya go............

Last edited by 320mb; 05-12-2004 at 02:39 PM.
 
Old 05-12-2004, 02:37 PM   #3
xanas3712
Member
 
Registered: Apr 2004
Distribution: Slackware/Mandrake/Debian (sarge)
Posts: 266

Original Poster
Rep: Reputation: 30
blah blah blah.. response edited cause the above no longer matches..

Last edited by xanas3712; 05-12-2004 at 03:15 PM.
 
Old 05-12-2004, 02:50 PM   #4
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
the above is the rc.inetd file from /etc/rc.d/
if you need inetd.conf file from /etc/
I posted it here.........
http://home.earthlink.net/~milk4unme/Inetd.conf
 
Old 05-12-2004, 03:14 PM   #5
xanas3712
Member
 
Registered: Apr 2004
Distribution: Slackware/Mandrake/Debian (sarge)
Posts: 266

Original Poster
Rep: Reputation: 30
Thanks.. and I'm sorry for saying this but...... I got the file name wrong.. I'm actually missing rc.inet1.conf (which is required by rc.inet1)..

Sorry for not knowing what the heck I'm talking about.. I tried this and of course noticed that I was off by a char..
 
Old 05-12-2004, 03:23 PM   #6
xanas3712
Member
 
Registered: Apr 2004
Distribution: Slackware/Mandrake/Debian (sarge)
Posts: 266

Original Poster
Rep: Reputation: 30
I'm lucky,.. very lucky.. someone had this posted on the net and so I downloaded it and now problem resolved

Thanks for the help... man I'm an idiot though..
btw.. I'm still interested in information on these files syntax and such if anyone knows it.. I want to be able to write my own should I ever need/want..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where's my inetd.conf? Jan Tanjo Linux - Networking 4 12-20-2004 10:28 PM
Where is my Inetd.conf sopiaz57 Red Hat 2 02-13-2004 10:30 AM
convert from inetd.conf to xinetd.conf linuxturtle Linux - Networking 7 11-12-2003 04:23 AM
inetd.conf cambo Linux - Networking 2 08-06-2002 03:15 AM
inetd.conf jondean Linux - Networking 2 12-05-2000 12:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration