aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2005-11-04 18:29:25 +0000
committerJudd Vinet <judd@archlinux.org>2005-11-04 18:29:25 +0000
commitf947ecffc4a9109d0790e5b2853e2a835b4cf81b (patch)
treefdab8cf809170a07f7b29de0539014e0099bc5bf /rc.sysinit
parent826e8af03cdfc3edec0dfc382a4f4308748a08f7 (diff)
downloadinitscripts-f947ecffc4a9109d0790e5b2853e2a835b4cf81b.tar.xz
fixed a syntax bug in locale setting
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 497259b..e9dad36 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -164,7 +164,7 @@ if [ "$LOCALE" != "" ]; then
/bin/chmod 755 /etc/profile.d/locale.sh
# If locale is *.utf set console to Unicode mode
- if [ `echo $LOCALE | /bin/grep -i utf` != "" ]; then
+ if [ "`echo $LOCALE | /bin/grep -i utf`" != "" ]; then
/usr/bin/kbd_mode -u
/usr/bin/dumpkeys | /bin/loadkeys --unicode
echo 'for i in `seq 1 12`; do' >>/etc/profile.d/locale.sh