Skip to content

Instantly share code, notes, and snippets.

@jrthib
Created February 20, 2014 21:02
Show Gist options
  • Save jrthib/9123135 to your computer and use it in GitHub Desktop.
Save jrthib/9123135 to your computer and use it in GitHub Desktop.
mount.sh
#/bin/bash
expect -c "
set timeout 1
spawn mount /var/lib/jenkins/mnt/map
expect y,N { send y\r ; exp_continue }
sleep 20
exit
"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment