Created
April 9, 2014 12:44
-
-
Save paulRbr/10265568 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Start on mount | |
SUBSYSTEM=="bdi",ACTION=="add",RUN+="/usr/bin/screen -m -d bash -c 'sleep 5; /usr/bin/dev_clicrdv up'" | |
# Stop on unmount | |
SUBSYSTEM=="bdi",ACTION=="remove",RUN+="/usr/bin/screen -m -d bash -c 'sleep 5; /usr/bin/dev_clicrdv halt'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment