Skip to content

Instantly share code, notes, and snippets.

@NeoCat
Created November 13, 2013 21:52
Show Gist options
  • Save NeoCat/7457093 to your computer and use it in GitHub Desktop.
Save NeoCat/7457093 to your computer and use it in GitHub Desktop.
YUREX de eject
while :;do x=$y;sleep 2;y=$(cat /dev/yurex0);o=;[ $(($y-x)) -gt 2 ]&&o=-t;eject $o;done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment