The easiest way would propably be to just call initct[1][2] with some meaningful parameters after the (u-)mount is successful, eg.
initctl emit ecryptfs-mounted-private USER=$USER MOUNTPOINT=$MOUNTPOINT SOMEKEY=$SOMEVALUE
[1] http://manpages.ubuntu.com/manpages/precise/en/man8/initctl.8.html [2] http://upstart.ubuntu.com/cookbook/#initctl
The easiest way would propably be to just call initct[1][2] with some meaningful parameters after the (u-)mount is successful, eg.
initctl emit ecryptfs- mounted- private USER=$USER MOUNTPOINT= $MOUNTPOINT SOMEKEY=$SOMEVALUE
[1] http:// manpages. ubuntu. com/manpages/ precise/ en/man8/ initctl. 8.html upstart. ubuntu. com/cookbook/ #initctl
[2] http://