summaryrefslogtreecommitdiff
path: root/debian/rc
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2001-06-15 21:30:08 +0000
committerMarcus Brinkmann <marcus@gnu.org>2001-06-15 21:30:08 +0000
commit848bbd7679e30e83f0b42cab17e43baee3cf71ae (patch)
tree4803ad474466b671c60a9edd96acfa86ab270a26 /debian/rc
parent354323352bae98c36360f2890a787f634b9eded3 (diff)
2001-06-15 Marcus Brinkmann <marcus@gnu.org>
* rc: Merge in recent changes from daemons/rc.sh.
Diffstat (limited to 'debian/rc')
-rwxr-xr-xdebian/rc9
1 files changed, 7 insertions, 2 deletions
diff --git a/debian/rc b/debian/rc
index f623aeb9..45592c9f 100755
--- a/debian/rc
+++ b/debian/rc
@@ -1,10 +1,16 @@
#!/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 ]
@@ -38,7 +44,7 @@ then
;;
# Oh dear.
*)
- echo "Unknown error during fsck"
+ echo "Unknown error during fsck (exit status $?)"
exit 1
;;
esac
@@ -129,4 +135,3 @@ chmod 664 /etc/motd
)
date
-