summaryrefslogtreecommitdiff
path: root/sh.Linux
diff options
context:
space:
mode:
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