View Single Post
Old 03-15-2017, 01:48 PM   #2
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by fennectech View Post
Hey you guys i rewrote the optware mount script that used to use sysvinit (never got that damn thing to work) since the kindle uses upstart i created a .conf file
/etc/upstart/optmount.comf

Code:
 # /mnt/us/optware.ext3 is the optware filesystem image
   
 start on mounted_userstore
 stop on stopping filesystems
 export LANG LC_ALL
 
 pre-start script
 mount /mnt/optware
 end script
  
 post-stop script
 umount /mnt/optware
 end script
This compleetly replaces the sysvinit script for optware mount and this one actually works!
https://wiki.mobileread.com/wiki/Optware
As written, that script depends on a modification of /etc/fstab.
Which will be lost on every firmware update.
As will the up-start script shown above.
knc1 is offline   Reply With Quote