mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user