Mark McGranaghan 8d31ec147c move to vendor
2012-11-17 08:21:42 -08:00

11 lines
310 B
AppleScript

tell application "System Events"
tell network preferences
tell current location
set aPPPoEService to a reference to (first service whose kind is 10)
if exists aPPPoEService then
connect aPPPoEService
end if
end tell
end tell
end tell