summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-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
-