Software installation opinions needed
Wm E. Davidsen Jr
davidsen at sixhub.UUCP
Sun Sep 30 09:57:29 AEST 1990
In article <ROWE.90Sep26052322 at doc.cme.nist.gov> rowe at cme.nist.gov (Walter Rowe) writes:
| # Call my local rc.site script
| if [ -x /usr/local/sys/rc.site ]; then
| /usr/local/sys/rc.site > /dev/console 2>&1
| fi
Arcane. I would expect:
. /usr/local/sys/rc.site > /dev/console 2>&1
so that you could define the shell variables to be used in the rest of
the script. I have a similar problem and found this to be the only way I
could keep it modular and small. I run the local customize early in the
script, and that may define RUNMELAST for things which run at the end of
the startup.
ie. [ -n "$RUNMELAST"] && [ -x $RUNMELAST ] && . $RUNMELAST
Note that again . is used to pass any symbols defined during startup.
--
bill davidsen - davidsen at sixhub.uucp (uunet!crdgw1!sixhub!davidsen)
sysop *IX BBS and Public Access UNIX
moderator of comp.binaries.ibm.pc and 80386 mailing list
"Stupidity, like virtue, is its own reward" -me
More information about the Comp.unix.admin
mailing list