From b45571bc3a7ae8bf263bdab1b2cefc858b93670f Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Fri, 15 Jun 2001 21:30:08 +0000 Subject: 2001-06-15 Marcus Brinkmann * rc: Merge in recent changes from daemons/rc.sh. --- debian/ChangeLog | 4 ++++ debian/rc | 9 +++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'debian') diff --git a/debian/ChangeLog b/debian/ChangeLog index 024cefbd..aac2359a 100644 --- a/debian/ChangeLog +++ b/debian/ChangeLog @@ -1,3 +1,7 @@ +2001-06-15 Marcus Brinkmann + + * rc: Merge in recent changes from daemons/rc.sh. + 2001-06-15 Marcus Brinkmann * rc: Be more selective with what to clean from /var/run. 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 - -- cgit v1.2.3