Minor startup script tweaks.

Try to SIGSTOP cvm on sysv systems, like kpv
Tweak the wording of the KUAL buttons a bit
pull/294/head
NiLuJe 11 years ago
parent 5cab12dfc1
commit de119c6626

@ -5,24 +5,24 @@
"priority": 0,
"items": [
{
"name": "Start in documents",
"name": "Start the filemanager",
"priority": 1,
"action": "/mnt/us/koreader/koreader.sh",
"params": "/mnt/us/documents"
},
{
"name": "Open last document",
"name": "Open the last document",
"priority": 2,
"action": "/mnt/us/koreader/koreader.sh"
},
{
"name": "Start without framework",
"name": "Start the filemanager (no framework)",
"priority": 3,
"action": "/mnt/us/koreader/koreader.sh",
"params": "--framework_stop /mnt/us/documents"
},
{
"name": "Open last document without framework",
"name": "Open the last document (no framework)",
"priority": 4,
"action": "/mnt/us/koreader/koreader.sh",
"params": "--framework_stop"

@ -75,8 +75,10 @@ if [ "${STOP_FRAMEWORK}" == "no" -a "${INIT_TYPE}" == "upstart" ] ; then
fi
fi
# stop cvm
#killall -stop cvm
# stop cvm (sysv & framework up only)
if [ "${STOP_FRAMEWORK}" == "no" -a "${INIT_TYPE}" == "sysv" ] ; then
killall -stop cvm
fi
# finally call reader
./reader.lua "$@" 2> crash.log

Loading…
Cancel
Save