Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Purpose: start gscan2pdf with scansnap
- # Author: Rick Evans
- # Date created: 04/02/13
- # Date last modified: 04/02/13
- #
- #Brief description of the script:
- #only start the application is it is not already started
- #
- #testing for the word fujitsu because we are only concerned if the scansnap scanner profile is active
- TEST=`pgrep -f fujitsu`
- if [ "${TEST:-null}" = null ]; then
- `gscan2pdf --device='fujitsu:ScanSnap S1500:373683'` &
- else
- echo "running, nothing to do"
- exit 0
- fi
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement