mirror of
https://github.com/koreader/koreader
synced 2024-11-16 06:12:56 +00:00
bdb82d09c1
* Flag those scripts as executable in git Somewhat irrelevant because we'll end up living on a FAT32 drive, but, still. * Cleanup Kobo startup script Support KFMon >= 0.9.5 Don't siphon PRODUCT from nickel, it's exported by rcS, so fmon/KFMon already inherit it. Siphon NICKEL_HOME, on the off-chance nickel fails to figure that one out for itself on restart. Siphon LANG (This may be a terrible idea, rcS sets LANG to en_US.UTF-8, while we set LC_ALL to en_US.UTF-8, but I don't know if nickel itself ever updates LANG, since I have mine set to en_US also ;)). My secret hope if that everything's working as it should and this ensures we default to Nickel's locale on fresh installs? Remove the extra sync on startup, both @Baskerville's fmon and KFMon are smart enough not to do anything overly stupid, and recent FW versions have a slightly more resilient DB anyway (rollback journal -> WAL). This effectively shaves over a second off our startup time. * Slimmed down the nickel restart script. Based on current rcS Scrapped a bucketload of irrelevant & legacy crap, since we're never bootstrapping nickel, only restarting it. * Update Kobo install instrcutions. Point to KSM09, @Baskerville's fmon, and KFMon. Deprecate legacy fmon, and as such, stop shipping a useless KoboRoot tarball.
4 lines
165 B
Bash
Executable File
4 lines
165 B
Bash
Executable File
#!/bin/sh
|
|
# NOTE: Legacy fmon script. Not needed with @Baskerville's fmon.
|
|
"${root:?}/.kobo/fmon/fmon" "${root}/koreader.png" "${root}/.kobo/koreader/koreader.sh" &
|