Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set command to "ping -c 1 192.168.178.32"
- try
- if ((do shell script command) contains " packets received, 0.0% packet loss") then
- mount volume "afp://user:password@192.168.178.32/Share1"
- mount volume "afp://user:password@192.168.178.32/Share2"
- mount volume "afp://user:password@192.168.178.32/Share3"
- mount volume "afp://user:password@192.168.178.32/Share4"
- end if
- end try
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement