Lines 65-79
Link Here
|
65 |
|
65 |
|
66 |
if [ "${retval}" -eq 0 ] |
66 |
if [ "${retval}" -eq 0 ] |
67 |
then |
67 |
then |
|
|
68 |
loc_switch="\033(K" |
69 |
if [ -n "${UTF8}" ] && [ "${UTF8}" == "yes" ] |
70 |
then |
71 |
loc_switch="\033%G" |
72 |
fi |
73 |
|
68 |
for x in $(seq 1 "${RC_TTY_NUMBER}") |
74 |
for x in $(seq 1 "${RC_TTY_NUMBER}") |
69 |
do |
75 |
do |
70 |
# Using DEVFS ? |
76 |
# Using DEVFS ? |
71 |
if [ -e /dev/.devfsd ] || \ |
77 |
if [ -e /dev/.devfsd ] || \ |
72 |
[ -e /dev/.udev -a -d /dev/vc ] |
78 |
[ -e /dev/.udev -a -d /dev/vc ] |
73 |
then |
79 |
then |
74 |
echo -ne "\033(K" >/dev/vc/${x} |
80 |
echo -ne ${loc_switch} >/dev/vc/${x} |
75 |
else |
81 |
else |
76 |
echo -ne "\033(K" >/dev/tty${x} |
82 |
echo -ne ${loc_switch} >/dev/tty${x} |
77 |
fi |
83 |
fi |
78 |
done |
84 |
done |
79 |
fi |
85 |
fi |