Article View: comp.sys.amiga.tech
Article #5116User startup under AmigaOS 2.0
From: Peter da Silva
Date: Sun, 02 Sep 1990 02:24
Date: Sun, 02 Sep 1990 02:24
67 lines
2188 bytes
2188 bytes
The code for handling the monitors directory was nice. So...
Just a couple of things I've done to make it more convenient to configure
stuff under 2.0. I was already quite pleased with the test for and execution
of "s:user-startup" to keep "s:startup-sequence" clean. I've created a user
startup file that looks like:
.bra {
.ket }
echo "User configuration 1 Sep 90"
list >ram:t/rc-temp s:rc/#?.rc nohead lformat="execute %s%s"
execute ram:t/rc-temp
echo "Completed user configuration"
Then in s:rc:
Directory "System2.0:S/rc" on Friday 01-Sep-78
work.rc 92 ----rwed Today 20:48:07
dmcs.rc 77 ----rwed Today 20:48:22
tetrix.rc 69 ----rwed Today 20:48:40
manx.bak 294 ----rwed Today 20:56:46
uucp.rc 568 ----rwed Today 20:56:55
manx.rc 307 ----rwed Today 21:02:30
6 files - 13 blocks used
As an example, s:rc/uucp.rc:
.bra {
.ket }
;
; Matt Dillon's UUCP setup
;
;
; TMP: is used by DCron
if exists work:uucp
echo "Installing UUCP assignments"
stack 8192
assign UUCP: work:uucp
Assign TMP: ram:
Assign UUSPOOL: UUCP:Spool
Assign UULIB: UUCP:Lib
Assign UUMAIL: UUCP:Mail
Assign UUNEWS: UUCP:News
Assign UUPUB: UUCP:Pub
Assign UUPUBW: UUCP:Pub
Assign Getty: UUCP:Lib
Assign UUMan: UUCP:man
mount null:
mount uuser:
path uucp:c add
echo "Starting Getty and DCron"
run >nil: <nil: Getty -B1200 -Mh -7
wait 4
run >nil: <nil: dcron T:dcron.log
endif
Now if this could be set up in the default 2.x configuration it'd become a
snap to install programs. People would still have to edit mountlist, but
that isn't order dependent.
--
Peter da Silva. `-_-'
<peter@sugar.hackercorp.com>.
Technical Details
Message-ID:
<6498@sugar.hackercorp.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!nuchat!sugar!peterShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!nuchat!sugar!peter From: peter@sugar.hackercorp.com (Peter da Silva) Newsgroups: comp.sys.amiga.tech Subject: User startup under AmigaOS 2.0 Message-ID: <6498@sugar.hackercorp.com> Date: 2 Sep 90 02:24:45 GMT Organization: Sugar Land Unix - Houston Lines: 67