Minor tweak to exit behavior on legacy devices.

Properly refresh the screen when exiting with the framework running.
The lua code to handle that is called while cvm is SIGSTOPP'ed, so it
doesn't help.
pull/1625/head
NiLuJe 9 years ago
parent df4bbc8191
commit f85c10e3b9

@ -235,6 +235,9 @@ fi
if [ "${STOP_FRAMEWORK}" == "no" -a "${INIT_TYPE}" == "sysv" ] ; then if [ "${STOP_FRAMEWORK}" == "no" -a "${INIT_TYPE}" == "sysv" ] ; then
logmsg "Resuming cvm . . ." logmsg "Resuming cvm . . ."
killall -cont cvm killall -cont cvm
# We need to handle the screen refresh ourselves, frontend/device/kindle/device.lua's Kindle3.exit is called before we resume cvm ;).
echo 'send 139' > /proc/keypad
echo 'send 139' > /proc/keypad
fi fi
# Restart framework (if need be) # Restart framework (if need be)

Loading…
Cancel
Save