summaryrefslogtreecommitdiff
path: root/daemons/rc.sh
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-06-08 22:07:18 +0000
committerRoland McGrath <roland@gnu.org>2001-06-08 22:07:18 +0000
commitf567700bedda42e566847e5f752a8e5a38b0053f (patch)
treee4a65e1add4c9c8879208b136da38a016dc83e80 /daemons/rc.sh
parentb7aacc0175a214f449c105c785e61a7be402731f (diff)
2001-06-08 Roland McGrath <roland@frob.com>
* rc.sh: Start /hurd/mach-defpager before swapon.
Diffstat (limited to 'daemons/rc.sh')
-rw-r--r--daemons/rc.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/daemons/rc.sh b/daemons/rc.sh
index e0a92d81..57780945 100644
--- a/daemons/rc.sh
+++ b/daemons/rc.sh
@@ -1,10 +1,17 @@
#!/bin/bash
+
PATH=/bin:/sbin
+# Start the default pager. It will bail if there is already one running.
+/hurd/mach-defpager
+
+# Set up swap space. This will complain if no default pager is functioning.
swapon -a
+# Check filesystems.
if [ -r /fastboot ]
then
+ # ... or don't.
rm -f /fastboot
echo Fast boot ... skipping disk checks
elif [ $1x = autobootx ]