Advertisement
Guest User

Untitled

a guest
Oct 20th, 2011
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. case "$ACTION" in
  4. download)
  5. pkill qiv
  6. qiv -l -f -m "$ARGUMENT" &
  7. ;;
  8. "")
  9. me=$(cd ${0%/*} && echo $PWD/${0##*/})
  10. gphoto2 --capture-tethered --hook-script=$me
  11. ;;
  12. esac
  13.  
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement