Thread: Glo Kobo Night Mode
View Single Post
Old 05-05-2013, 03:41 PM   #52
yoq
Developer
yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.
 
Posts: 77
Karma: 206176
Join Date: Apr 2013
Location: Europe
Device: Kobo Glo
Quote:
Originally Posted by tshering View Post
Maybe I completely miss the point, but wouldn't

rm /mnt/onboard/.kobo/nightmode.sh
rm /mnt/onboard/.kobo/screenInv.so
rm /tmp/invertScreen
rm /mnt/onboard/.kobo/screenInvertLog
rm /mnt/onboard/.kobo/screenInvertLogFB

in autorun.sh do the job?

The problem is, autorun.sh is execute before the internal sd storage is mounted. If you look into rcS, it starts with "/sbin/udevadm trigger", the mount comes a few lines after that.
Thinking about it, it should be possible to wait for the mount in the script.
yoq is offline   Reply With Quote