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, "priority": 0,
"items": [ "items": [
{ {
"name": "Start in documents", "name": "Start the filemanager",
"priority": 1, "priority": 1,
"action": "/mnt/us/koreader/koreader.sh", "action": "/mnt/us/koreader/koreader.sh",
"params": "/mnt/us/documents" "params": "/mnt/us/documents"
}, },
{ {
"name": "Open last document", "name": "Open the last document",
"priority": 2, "priority": 2,
"action": "/mnt/us/koreader/koreader.sh" "action": "/mnt/us/koreader/koreader.sh"
}, },
{ {
"name": "Start without framework", "name": "Start the filemanager (no framework)",
"priority": 3, "priority": 3,
"action": "/mnt/us/koreader/koreader.sh", "action": "/mnt/us/koreader/koreader.sh",
"params": "--framework_stop /mnt/us/documents" "params": "--framework_stop /mnt/us/documents"
}, },
{ {
"name": "Open last document without framework", "name": "Open the last document (no framework)",
"priority": 4, "priority": 4,
"action": "/mnt/us/koreader/koreader.sh", "action": "/mnt/us/koreader/koreader.sh",
"params": "--framework_stop" "params": "--framework_stop"

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

Loading…
Cancel
Save