|
|
1.1 root 1: PATH=/etc:/bin:/usr/ucb:/usr/bin
2:
3: # myname is my symbolic name
4: # myhostid is my internet address in #.#.#.# format
5: # my-netmask is specified in /etc/networks
6: #
7: hostname myname.my.domain
8: ifconfig imp0 netmask my-netmask `hostname`
9: ifconfig en0 netmask my-netmask `hostname`
10: ifconfig lo0 localhost
11: route add `hostname` localhost 0
12: hostid `hostname`
13:
14: strings /vmunix | grep UNIX >/tmp/t1
15: tail +2 /etc/motd >>/tmp/t1
16: mv /tmp/t1 /etc/motd
17: chmod 666 /etc/motd
18:
19: # syslogd doesn't belong here, but needs to be started before the others.
20: if [ -f /etc/syslogd ]; then
21: echo 'starting system logger' >/dev/console
22: rm -f /dev/log
23: /etc/syslogd
24: fi
25:
26: echo -n 'checking for core dump... ' >/dev/console
27: savecore /a/crash >/dev/console 2>&1
28: echo '' >/dev/console
29:
30: echo -n starting local daemons: >/dev/console
31: #if [ -f /etc/routed ]; then
32: # /etc/routed; echo -n ' routed' >/dev/console
33: #fi
34: if [ -f /etc/named ]; then
35: /etc/named /etc/named.boot; echo -n ' named' >/dev/console
36: fi
37: #if [ -f /etc/timed ]; then
38: # /etc/timed -M; echo -n ' timed' >/dev/console
39: #fi
40: if [ -f /usr/lib/sendmail ]; then
41: (cd /usr/spool/mqueue; rm -f lf*)
42: /usr/lib/sendmail -bd -q30m; echo -n ' sendmail'>/dev/console
43: fi
44: echo '.' >/dev/console
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.