BSD 3 development
authorBill Joy <wnj@ucbvax.Berkeley.EDU>
Sun, 6 Jan 1980 05:52:11 +0000 (21:52 -0800)
committerBill Joy <wnj@ucbvax.Berkeley.EDU>
Sun, 6 Jan 1980 05:52:11 +0000 (21:52 -0800)
Work on file etc/rc

Synthesized-from: 3bsd

etc/rc [new file with mode: 0644]

diff --git a/etc/rc b/etc/rc
new file mode 100644 (file)
index 0000000..28f6636
--- /dev/null
+++ b/etc/rc
@@ -0,0 +1,25 @@
+echo '' >/dev/console
+date >/dev/console
+echo entering rc >/dev/console
+HOME=/
+export HOME
+echo clearing mtab >/dev/console
+cp /dev/null /etc/mtab
+echo mounting /usr on /dev/rp0g >/dev/console
+/etc/mount /dev/rp0g /usr
+echo preserving Ex temps and clearing /tmp >/dev/console
+cd /tmp
+(/usr/lib/ex3.2preserve -a; rm -f *)
+cd /
+echo starting update >/dev/console
+/etc/update&
+: echo clearing lock and starting printer >/dev/console
+: rm -f /usr/lpd/lock
+echo starting cron >/dev/console
+/etc/cron&
+: echo starting accounting >/dev/console
+: /etc/accton /usr/adm/acct
+: echo starting net daemon >/dev/console
+: sh /usr/net/bin/start &
+chmod 666 /etc/motd
+echo leaving rc >/dev/console