[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: laptop lacks /sbin/setup.sh



Pollywog  <pollywog@shadypond.com> writes:
Pollywog> I wanted to put '/etc/init.d/network start' in my
Pollywog> /sbin/setup.sh on my ThinkPad, but it does not have this
Pollywog> file.  Where can I put this command to see if it can get my
Pollywog> network recognized after I start the machine?

/etc/rcS.d/S40network doesn't work for you?

Pollywog> I don't understand the initialization scripts, so I don't
Pollywog> want to fool around with those (rc.S and her friends).

If reading /etc/rcS.d/README, /etc/init.d/README, and the
documentation referred to therein doesn't do it for you, you could try 
reading through some of the startup scripts yourself.  /etc/init.d/rcS 
isn't that difficult a shell script to read, and explains what things
happen when.

(NB: /etc/rcS.d/README, combined with the fact that setup.sh is run
after everything in /etc/rcS.d, explains why your proposed "solution"
is wrong if you didn't have the S40network link.  Specifically,
networking wouldn't be available for S41*-S99*, even though the README 
claims it should be.)

-- 
David Maze             dmaze@mit.edu          http://donut.mit.edu/dmaze/
"Hey, Doug, do you mind if I push the Emergency Booth Self-Destruct Button?"
"Oh, sure, Dave, whatever...you _do_ know what that does, right?"


Reply to: