summaryrefslogtreecommitdiff
path: root/sh.Linux
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-04-17 20:07:24 +0000
committerRoy Marples <roy@marples.name>2007-04-17 20:07:24 +0000
commitcc62b67b7f7a00dd89cc3d9f0b103b336d7f2dc7 (patch)
treeff16d9e9d447a66d8fa90af66ff31c8d0bee9076 /sh.Linux
parente2af00046384cedc50f2c8e05c499f3b6e97b57b (diff)
downloadopenrc-cc62b67b7f7a00dd89cc3d9f0b103b336d7f2dc7.tar.gz
openrc-cc62b67b7f7a00dd89cc3d9f0b103b336d7f2dc7.tar.bz2
openrc-cc62b67b7f7a00dd89cc3d9f0b103b336d7f2dc7.tar.xz
Duh, quote eval properly
Diffstat (limited to 'sh.Linux')
-rwxr-xr-xsh.Linux/init.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/sh.Linux/init.sh b/sh.Linux/init.sh
index 1f3f301..6c5c612 100755
--- a/sh.Linux/init.sh
+++ b/sh.Linux/init.sh
@@ -98,9 +98,9 @@ fi
[ -r "${RC_LIBDIR}"/console/unimap ] \
&& /bin/setfont ${ttydev:+-C} ${ttydev} -u "${RC_LIBDIR}"/console/unimap
if [ -e "${RC_LIBDIR}"/console/unicode ] ; then
- eval printf "\033%%G" ${ttydev:+>} ${ttydev}
+ eval printf '"\033%%G"' ${ttydev:+>} ${ttydev}
else
- eval printf "\033(K" ${ttydev:+>} ${ttydev}
+ eval printf '"\033(K"' ${ttydev:+>} ${ttydev}
fi
unset ttydev
@@ -148,7 +148,6 @@ if [ "${RC_UNAME}" != "GNU/kFreeBSD" -a "${RC_NAME}" != "VPS" -a "${K26}" = "0"
fi
check_statedir /dev
-
devfs_mounted=
if [ -e /dev/.devfsd ] ; then
# make sure devfs is actually mounted and it isnt a bogus file