Advertisement
Guest User

Untitled

a guest
May 22nd, 2018
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. set command to "ping -c 1 192.168.178.32"
  2.  
  3. try
  4. if ((do shell script command) contains " packets received, 0.0% packet loss") then
  5. mount volume "afp://user:password@192.168.178.32/Share1"
  6. mount volume "afp://user:password@192.168.178.32/Share2"
  7. mount volume "afp://user:password@192.168.178.32/Share3"
  8. mount volume "afp://user:password@192.168.178.32/Share4"
  9.  
  10.  
  11. end if
  12. end try
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement