shantanugoel/asus-rt-n66u-merlin — pull request #12 by shantanugoel (2012-05-06 20:49:58+00:00)
Title: Mount scripts

Added scripts that are run before a partition is mounted and after a partition is mounted.

pre-mount is useful for many things, the most common use being running e2fsck on a file system automatically before it is mounted

post-mount is useful for things like that can be autorun when a partition is mounted. e.g. running rc.unslung or another process that can start your optware related program installations on boot up. Other scripts like services-start are not useful for this because they are not really in sync with when a partition is exactly mounted. e.g. services-start some times run even before the system actually mounts a partition and makes it available.

I've tested these scripts with the above mentioned scenarios on my system and they are working pretty well in starting up optware and running fsck when needed.