summaryrefslogtreecommitdiff
path: root/daemons/rc.sh
diff options
context:
space:
mode:
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 ]