|
|
1.1 root 1: : /etc/brc.build 7/24/92
2: : COHERENT executes this script when it boots.
3: : This version invokes /etc/build
4: : to install or update floppy-based COHERENT to the hard disk.
5:
6: : Configure RAM disk and mount it on /tmp.
7: . /etc/.profile
8: /etc/mkfs /dev/ram1 384
9: /etc/mount /dev/ram1 /tmp
10:
11: : Load drivers.
12: /etc/drvld.all
13:
14: : Set the date from the system clock.
15: . /etc/timezone
16: /bin/date -s `/etc/ATclock` >/dev/null
17:
18: : /etc/build reboots automatically on success.
19: : Trap in case interrupted.
20: trap 'echo; echo Aborted...' 1 2 3
21:
22: case "`/etc/boot_cmd`" in
23: begin*)
24: options= ;;
25: update*)
26: options='-u' ;;
27: *)
28: echo 'Installation/Update kit booted incorrectly.'
29: echo 'When booting, you must boot via "begin" or "update".'
30: echo 'Please reboot and try again...'
31: exit 1 ;;
32: esac
33:
34: if /etc/build $options
35: then
36: else
37: echo The COHERENT system installation failed, please reboot and try again.
38: fi
39: sync
40: exit 1
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.