View Single Post
Old 03-15-2017, 12:15 PM   #1
fennectech
Connoisseur
fennectech will become famous soon enoughfennectech will become famous soon enoughfennectech will become famous soon enoughfennectech will become famous soon enoughfennectech will become famous soon enoughfennectech will become famous soon enoughfennectech will become famous soon enough
 
Posts: 57
Karma: 748
Join Date: Aug 2016
Device: Kobo Clara HD, Kobo Clara E2, Kindle 4 Keyboard 3G
Rewrote the optware mount script

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
fennectech is offline   Reply With Quote