aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-01-16 03:18:52 +0000
committerBill Nottingham <notting@redhat.com>2003-01-16 03:18:52 +0000
commita824a0115036bbb0285c0121b8499863e9611bde (patch)
treee0f68fd17533077a91610c77029a878a6e18de6f /rc.d
parent10c32f53596120eaca958b7500430f9c164a4b0f (diff)
downloadinitscripts-a824a0115036bbb0285c0121b8499863e9611bde.tar
initscripts-a824a0115036bbb0285c0121b8499863e9611bde.tar.gz
initscripts-a824a0115036bbb0285c0121b8499863e9611bde.tar.bz2
initscripts-a824a0115036bbb0285c0121b8499863e9611bde.tar.xz
initscripts-a824a0115036bbb0285c0121b8499863e9611bde.zip
fix some translations
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit12
1 files changed, 9 insertions, 3 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index dffc1e74..3f00ebdc 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -257,6 +257,7 @@ if [ -z "$fastboot" -a "X$ROOTFSTYPE" != "Xnfs" ]; then
# A return of 2 or higher means there were serious problems.
if [ $rc -gt 1 ]; then
+ local str
if [ "$BOOTUP" = "graphical" ]; then
chvt 1
fi
@@ -268,7 +269,8 @@ if [ -z "$fastboot" -a "X$ROOTFSTYPE" != "Xnfs" ]; then
echo $"*** Dropping you to a shell; the system will reboot"
echo $"*** when you leave the shell."
- PS1=$"(Repair filesystem) \# # "; export PS1
+ str=$"(Repair filesystem)"
+ PS1="$str \# # "; export PS1
sulogin
echo $"Unmounting file systems"
@@ -469,13 +471,15 @@ if [ -f /etc/raidtab -a -f /proc/mdstat ]; then
# A non-zero return means there were problems.
if [ $rc -gt 0 ]; then
+ local str=
echo
echo
echo $"*** An error occurred during the RAID startup"
echo $"*** Dropping you to a shell; the system will reboot"
echo $"*** when you leave the shell."
- PS1=$"(RAID Repair) \# # "; export PS1
+ str=$"(RAID Repair)"
+ PS1="$str \# # "; export PS1
sulogin
echo $"Unmounting file systems"
@@ -511,6 +515,7 @@ if [ -z "$fastboot" ]; then
# A return of 2 or higher means there were serious problems.
if [ $rc -gt 1 ]; then
+ local str=
if [ "$BOOTUP" = "graphical" ]; then
chvt 1
fi
@@ -522,7 +527,8 @@ if [ -z "$fastboot" ]; then
echo $"*** Dropping you to a shell; the system will reboot"
echo $"*** when you leave the shell."
- PS1=$"(Repair filesystem) \# # "; export PS1
+ str=$"(Repair filesystem)"
+ PS1="$str \# # "; export PS1
sulogin
echo $"Unmounting file systems"