2012-11-17 08:20:43 -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