summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-05-15 23:03:15 +0000
committerRoland McGrath <roland@gnu.org>1999-05-15 23:03:15 +0000
commitc9919f9f6f260933eba13df3c120c7027160d3f6 (patch)
tree400f12ccd54013b319c05ab7874d908a45df25fc
parent0968294572d906221d4b3e79cb4f48ca7166ebc5 (diff)
1999-05-15 Roland McGrath <roland@baalperazim.frob.com>
* rc.sh: Do `swapon -a' first thing.
-rw-r--r--daemons/rc.sh8
1 files changed, 5 insertions, 3 deletions
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