[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: running a script at startup
> I am working on getting linux to connect to the internet upon startup. The
> connections is different, ie. I use a null modem at WMU appartments, so I am
> using the ppp-on, ppp-on-dialer, and ppp-off scripts.
> My question is this, do I add this to inittab, or to something like rc.local?
I would not add it to inittab.
If you want to get fancy, you could create it's own start/stop script
like all the major services have, but the easiest thing is to add it
to /etc/rc.d/rc.local.
> I also would like to know exactly how to do this, I seem to remember reading
> this but cannot now find it.
Exactly? vi, pico, emacs, xemacs, xedit, nedit, gnome-edit, kedit, ...
(add it to the end of /etc/rc.d/rc.local ;)
--------------------------------------------
Bruce Smith bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan 49093 USA
http://www.armstrong-intl.com/
--------------------------------------------