BSD 4_3_Net_2 release
[unix-history] / usr / src / etc / rc
index 6258e3e..bda02f3 100644 (file)
@@ -1,13 +1,16 @@
-#      @(#)rc  5.25 (Berkeley) %G%
+#      @(#)rc  5.27 (Berkeley) 6/5/91
 
 # System startup script run by init on autoboot
 # or after single-user.
 # Output and error are redirected to console by init,
 # and the console is the controlling terminal.
 
 
 # System startup script run by init on autoboot
 # or after single-user.
 # Output and error are redirected to console by init,
 # and the console is the controlling terminal.
 
+stty status '^T'
+
 # Set shell to ignore SIGINT (2), but not children;
 # shell catches SIGQUIT (3) and returns to single user after fsck.
 trap : 2
 # Set shell to ignore SIGINT (2), but not children;
 # shell catches SIGQUIT (3) and returns to single user after fsck.
 trap : 2
+trap : 3       # shouldn't be needed
 
 HOME=/; export HOME
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
 
 HOME=/; export HOME
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
@@ -84,6 +87,7 @@ echo '.'
 # /var/crash should be a directory or a symbolic link
 # to the crash directory if core dumps are to be saved.
 if [ -d /var/crash ]; then
 # /var/crash should be a directory or a symbolic link
 # to the crash directory if core dumps are to be saved.
 if [ -d /var/crash ]; then
+       echo checking for core dump...
        savecore /var/crash
 fi
 
        savecore /var/crash
 fi
 
@@ -135,7 +139,6 @@ elif [ X${routedflags} != X"NO" ]; then
 fi
 
 echo -n ' named';              named
 fi
 
 echo -n ' named';              named
-echo -n ' inetd';              inetd
 
 # $rwhod is imported from /etc/netstart;
 # if $rwhod is set to something other than NO, rwhod is run.
 
 # $rwhod is imported from /etc/netstart;
 # if $rwhod is set to something other than NO, rwhod is run.
@@ -151,7 +154,7 @@ echo -n ' nfsd';            nfsd -u 0,0,4 -t 0,0
 echo -n ' nfsiod';             nfsiod 4
 
 echo -n ' sendmail';           sendmail -bd -q30m
 echo -n ' nfsiod';             nfsiod 4
 
 echo -n ' sendmail';           sendmail -bd -q30m
-
+echo -n ' inetd';              inetd
 echo '.'
 
 sh /etc/rc.local
 echo '.'
 
 sh /etc/rc.local