[Pkg-sysvinit-commits] r629 -
sysvinit/trunk/debian/initscripts/etc/init.d
Thomas Hood
jdthood-guest at costa.debian.org
Thu Jan 12 12:55:40 UTC 2006
Author: jdthood-guest
Date: 2006-01-12 12:55:40 +0000 (Thu, 12 Jan 2006)
New Revision: 629
Modified:
sysvinit/trunk/debian/initscripts/etc/init.d/checkfs.sh
sysvinit/trunk/debian/initscripts/etc/init.d/checkroot.sh
Log:
Tweak messages
Modified: sysvinit/trunk/debian/initscripts/etc/init.d/checkfs.sh
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/checkfs.sh 2006-01-12 12:46:41 UTC (rev 628)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/checkfs.sh 2006-01-12 12:55:40 UTC (rev 629)
@@ -57,15 +57,15 @@
FSCKTYPES_OPT=""
[ "$FSCKTYPES" ] && FSCKTYPES_OPT="-t $FSCKTYPES"
handle_failed_fsck() {
- log_failure_msg "File system check failed.
-A log is being saved in ${FSCK_LOGFILE} if that location is writable.
+ log_failure_msg "File system check failed.
+A log is being saved in ${FSCK_LOGFILE} if that location is writable.
Please repair the file system manually."
- log_warning_msg "A maintenance shell will now be started.
+ log_warning_msg "A maintenance shell will now be started.
CONTROL-D will terminate this shell and resume system boot."
# Start a single user shell on the console
if ! sulogin $CONSOLE
then
- log_failure_msg "Attempt to start maintenance shell failed.
+ log_failure_msg "Attempt to start maintenance shell failed.
Continuing with system boot in 5 seconds."
sleep 5
fi
@@ -95,7 +95,7 @@
then
handle_failed_fsck
else
- log_success_msg "Done checking file systems.
+ log_success_msg "Done checking file systems.
A log is being saved in ${FSCK_LOGFILE} if that location is writable."
fi
fi
Modified: sysvinit/trunk/debian/initscripts/etc/init.d/checkroot.sh
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/checkroot.sh 2006-01-12 12:46:41 UTC (rev 628)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/checkroot.sh 2006-01-12 12:55:40 UTC (rev 629)
@@ -290,7 +290,8 @@
FSCKCODE=$?
if [ "$FSCKCODE" = 0 ]
then
- log_success_msg "Done checking root file system. Log saved in ${FSCK_LOGFILE}."
+ log_success_msg "Done checking root file system.
+A log will be saved in ${FSCK_LOGFILE} if that location is writable."
else
log_failure_msg "Root file system check failed with error code ${FSCKCODE}.
A log is being saved in ${FSCK_LOGFILE} if that location is writable."
@@ -316,8 +317,8 @@
root filesystem mounted in read-only mode."
log_warning_msg "The root filesystem is currently mounted in read-only mode.
A maintenance shell will now be started.
-After performing system maintenance, press CONTROL-D to
-terminate the maintenance shell and restart the system."
+After performing system maintenance, press CONTROL-D
+to terminate the maintenance shell and restart the system."
# Start a single user shell on the console
if ! sulogin $CONSOLE
then
More information about the Pkg-sysvinit-commits
mailing list