summaryrefslogtreecommitdiff
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
commitb45571bc3a7ae8bf263bdab1b2cefc858b93670f (patch)
treede08b91bb0ac94693dcba4dd9760a68b8e4b748a
parentac0a5da19238aca59c51256655cd0d2f24e11a23 (diff)
2001-06-15 Marcus Brinkmann <marcus@gnu.org>
* rc: Merge in recent changes from daemons/rc.sh.
-rw-r--r--debian/ChangeLog4
-rwxr-xr-xdebian/rc9
2 files changed, 11 insertions, 2 deletions
diff --git a/debian/ChangeLog b/debian/ChangeLog
index 024cefbd..aac2359a 100644
--- a/debian/ChangeLog
+++ b/debian/ChangeLog
@@ -1,5 +1,9 @@
2001-06-15 Marcus Brinkmann <marcus@gnu.org>
+ * rc: Merge in recent changes from daemons/rc.sh.
+
+2001-06-15 Marcus Brinkmann <marcus@gnu.org>
+
* rc: Be more selective with what to clean from /var/run.
Patch by Moritz Schulte <moritz@chaosdorf.de>.
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
-