diff options
author | Dan McGee <dan@archlinux.org> | 2008-02-14 19:56:02 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-02-14 19:56:02 -0600 |
commit | e16e2d17c97f91cdb9eda0ad3525ee7977ad40a6 (patch) | |
tree | 7060132eb37802564e3a4448516cf979df87de06 /rc.sysinit | |
parent | 626037f6043596f21511b76b088dca86fc079f42 (diff) | |
parent | fbb8d26a81dc220d7795be871e09c89fd0e03a76 (diff) | |
download | initscripts-e16e2d17c97f91cdb9eda0ad3525ee7977ad40a6.tar.xz |
Merge branch 'posix' into working
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-x | rc.sysinit | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -194,7 +194,7 @@ if [ -f /etc/crypttab -a -n "$(grep -v ^# /etc/crypttab | grep -v ^$)" ]; then fi fi elif [ "${cpass}" = "ASK" ]; then - echo -e "\nOpening '${cname}' volume:" + printf "\nOpening '${cname}' volume:\n" if $CS isLuks $csrc 2>/dev/null; then $CS $copts luksOpen $csrc $cname < /dev/console @@ -369,10 +369,10 @@ if echo "$LOCALE" | /bin/grep -qi utf ; then stat_busy "Setting Consoles to UTF-8" /usr/bin/kbd_mode -u for i in $(seq 1 63); do - echo -ne "\e%G" > /dev/vc/${i} + printf "\e%G" > /dev/vc/${i} done # the $CONSOLE check helps us avoid this when running scripts from cron - echo 'if [ "$CONSOLE" = "" -a "$TERM" = "linux" -a -t 1 ]; then echo -ne "\e%G"; fi' >>/etc/profile.d/locale.sh + echo 'if [ "$CONSOLE" = "" -a "$TERM" = "linux" -a -t 1 ]; then printf "\e%G"; fi' >>/etc/profile.d/locale.sh stat_done status "Loading Keyboard Map: $KEYMAP in utf-8 mode" /bin/loadkeys -q -u $KEYMAP else @@ -396,10 +396,10 @@ if [ -n "$CONSOLEFONT" ]; then stat_fail else for i in $(seq 1 63); do - echo -ne "\e(K" > /dev/vc/${i} + printf "\e(K" > /dev/vc/${i} done # the $CONSOLE check helps us avoid this when running scripts from cron - echo 'if [ "$CONSOLE" = "" -a "$TERM" = "linux" -a -t 1 ]; then echo -ne "\e(K"; fi' >>/etc/profile.d/locale.sh + echo 'if [ "$CONSOLE" = "" -a "$TERM" = "linux" -a -t 1 ]; then printf "\e(K"; fi' >>/etc/profile.d/locale.sh stat_done fi fi |