I'm using AufoFS to auto mount/unmount nfs share.
Regarding my post on running CrashPlan on Raspberry Pi I'm trying to figure out what the best way to start/stop the service according to the nfs share state.
I couldn't find any info regarding running commands or scripts when AutoFS mount/unmount, is it possible ?
If not, what would be the best approach solving this?
if that helps here are my configs:
/etc/autofs/auto.master
$this->bbcode_second_pass_quote('', ' ')/mnt/nfs4 /etc/autofs/auto.nfs4 -hosts --timeout=60