Minor startup script tweaks.

Try to SIGSTOP cvm on sysv systems, like kpv
Tweak the wording of the KUAL buttons a bit
This commit is contained in:
NiLuJe
2013-09-29 21:54:23 +02:00
parent 5cab12dfc1
commit de119c6626
2 changed files with 8 additions and 6 deletions

View File

@@ -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"

View File

@@ -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