From c9919f9f6f260933eba13df3c120c7027160d3f6 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 15 May 1999 23:03:15 +0000 Subject: 1999-05-15 Roland McGrath * rc.sh: Do `swapon -a' first thing. --- daemons/rc.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'daemons') diff --git a/daemons/rc.sh b/daemons/rc.sh index 10ff5c1f..45d2493c 100644 --- a/daemons/rc.sh +++ b/daemons/rc.sh @@ -1,6 +1,8 @@ #!/bin/sh PATH=/bin:/sbin +swapon -a + if [ -r /fastboot ] then rm -f /fastboot @@ -19,7 +21,7 @@ then # Filesystem modified (but ok now) 1 | 2) ;; - # Fsck couldn't fix it. + # Fsck couldn't fix it. 4 | 8) echo "Automatic boot failed... help!" exit 1 @@ -35,7 +37,7 @@ then exit 1 ;; # Oh dear. - *) + *) echo "Unknown error during fsck" exit 1 ;; @@ -80,6 +82,6 @@ if test -x /sbin/sendmail -a -r /etc/sendmail.cf; then /sbin/sendmail -bd -q30m && echo -n ' sendmail' fi -echo . +echo . date -- cgit v1.2.3