* Alpha OSF startup script
@ 1993-12-20 14:09 Steve Johns
1993-12-20 17:01 ` Karen Kolling
1993-12-20 20:39 ` Matt Thomas
0 siblings, 2 replies; 5+ messages in thread
From: Steve Johns @ 1993-12-20 14:09 UTC (permalink / raw)
We just got an Alpha 3000 running OSF1, and it's method of starting up
is quite a bit different from Ultrix 4.3, which I am used to.
Specifically, I would like advice on the best place/method for calling
scripts/commands which I want executed during startup - the things I
used to run from rc.local. All this multiple run level stuff with
starts and kills is confusing what used to be a very simple process
(though I can see the flexibility here...)
For example, I need to do a "route add default <address>" command to
ensure that a default route is defined in my routing table every time
I boot. Where should I put this command? (Also, is there another way
to get the system to do define this itself through one of the setup
programs?)
--
Steve Johns
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Alpha OSF startup script
1993-12-20 14:09 Alpha OSF startup script Steve Johns
@ 1993-12-20 17:01 ` Karen Kolling
1993-12-20 17:43 ` Richard Eckman
1993-12-20 20:39 ` Matt Thomas
1 sibling, 1 reply; 5+ messages in thread
From: Karen Kolling @ 1993-12-20 17:01 UTC (permalink / raw)
In article <JOHNS.93Dec20090922@haiti.gsfc.nasa.gov> johns@haiti.gsfc.nasa.gov (Steve Johns) writes:
>We just got an Alpha 3000 running OSF1, and it's method of starting up
>is quite a bit different from Ultrix 4.3, which I am used to.
My dim recollection is that the man page for xdm tells you more than you
would ever want to know about the startup procedure and files.
--
Karen Kolling kolling@adobe.com
^._.^ ^._.^ ^._.^ ^._.^ ^._.^ ^._.^ ^._.^ ^._.^ ^._.^ ^._.^
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Alpha OSF startup script
1993-12-20 17:01 ` Karen Kolling
@ 1993-12-20 17:43 ` Richard Eckman
0 siblings, 0 replies; 5+ messages in thread
From: Richard Eckman @ 1993-12-20 17:43 UTC (permalink / raw)
In article <1993Dec20.170125.7357@adobe.com> kolling@adobe.com (Karen Kolling) writes:
>In article <JOHNS.93Dec20090922@haiti.gsfc.nasa.gov> johns@haiti.gsfc.nasa.gov (Steve Johns) writes:
>>We just got an Alpha 3000 running OSF1, and it's method of starting up
>>is quite a bit different from Ultrix 4.3, which I am used to.
>
>My dim recollection is that the man page for xdm tells you more than you
>would ever want to know about the startup procedure and files.
Also useful are the man pages for rc0, rc2, and rc3. They tell all about
the various startup files and how to add new ones.
Richard Eckman
NASA Langley
eckman@eos1.larc.nasa.gov
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Alpha OSF startup script
1993-12-20 14:09 Alpha OSF startup script Steve Johns
1993-12-20 17:01 ` Karen Kolling
@ 1993-12-20 20:39 ` Matt Thomas
1993-12-23 17:23 ` Dr Marco Luchini
1 sibling, 1 reply; 5+ messages in thread
From: Matt Thomas @ 1993-12-20 20:39 UTC (permalink / raw)
In article <JOHNS.93Dec20090922@haiti.gsfc.nasa.gov>, johns@haiti.gsfc.nasa.gov (Steve Johns) writes:
|>We just got an Alpha 3000 running OSF1, and it's method of starting up
|>is quite a bit different from Ultrix 4.3, which I am used to.
|>
|>Specifically, I would like advice on the best place/method for calling
|>scripts/commands which I want executed during startup - the things I
|>used to run from rc.local. All this multiple run level stuff with
|>starts and kills is confusing what used to be a very simple process
|>(though I can see the flexibility here...)
|>
|>For example, I need to do a "route add default <address>" command to
|>ensure that a default route is defined in my routing table every time
|>I boot. Where should I put this command? (Also, is there another way
|>to get the system to do define this itself through one of the setup
|>programs?)
Create/edit a file called /etc/routes and place into one or more lines
of the form:
net gateway
(For instance you could put in
default wan-gw
which I what I use for my system).
But the general solution is to create /bin/sh (not csh or bash or ...)
and place it in /sbin/init.d ; the script takes one argument
which will be either start and stop. Then in /sbin/rc3.d create a
symlink to it and have the start with Snn where nn is an appropriate
number for where/when it should be executed. Once you see the scheme
used it's pretty to get your stuff in there.
--
Matt Thomas Internet: thomas@lkg.dec.com
U*X Networking UUCP: ...!decwrl!thomas
Digital Equipment Corporation Disclaimer: This message reflects my own
Littleton, MA warped views, etc.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Alpha OSF startup script
1993-12-20 20:39 ` Matt Thomas
@ 1993-12-23 17:23 ` Dr Marco Luchini
0 siblings, 0 replies; 5+ messages in thread
From: Dr Marco Luchini @ 1993-12-23 17:23 UTC (permalink / raw)
In article <2f52hq$gdt@nntpd.lkg.dec.com> thomas@lkg.dec.com (Matt Thomas) writes:
In article <JOHNS.93Dec20090922@haiti.gsfc.nasa.gov>, johns@haiti.gsfc.nasa.gov (Steve Johns) writes:
|>For example, I need to do a "route add default <address>" command to
|>ensure that a default route is defined in my routing table every time
|>I boot. Where should I put this command? (Also, is there another way
|>to get the system to do define this itself through one of the setup
|>programs?)
Create/edit a file called /etc/routes and place into one or more lines
of the form:
net gateway
(For instance you could put in
default wan-gw
which I what I use for my system).
In fact, if you use "netsetup" all this is done for you, as well as
setting up any other kind of routing you may want. I find the
setup scripts that come with OSF really useful.
Ciao, Marco
--
-------------------------------------------------------------------------
Marco Luchini Internet : m.luchini@ic.ac.uk
Department of Mathematics Telephone: +44 71 589 5111 x5765
Imperial College Fax: +44 71 225 8361
London SW7 2BZ, UK
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1993-12-23 17:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-12-20 14:09 Alpha OSF startup script Steve Johns
1993-12-20 17:01 ` Karen Kolling
1993-12-20 17:43 ` Richard Eckman
1993-12-20 20:39 ` Matt Thomas
1993-12-23 17:23 ` Dr Marco Luchini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox