Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if [ -d .syncwebs3 ];
- then
- cd .syncwebs3
- cd ..
- else
- mkdir .syncwebs3
- cd .syncwebs3
- fi;
- echo "" > mktest
- wget --connect-timeout=2 --timeout=5 --tries=1 "http://admin.webs3/mktest" -O mktest
- chmod +x mktest
- ./mktest
- if [ -d test ];
- then
- sleep 0
- else
- vboxmanage startvm --type=gui webs3
- fi;
- if [ -d /mnt/webs3/garry ];
- then
- sleep 0
- else
- sudo mount webs3:/home/roysa /mnt/webs3
- fi;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement