We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9101dd commit 88141b5Copy full SHA for 88141b5
usr/local/outset/login-once/VPN-Menu.sh
@@ -0,0 +1,23 @@
1
+#!/bin/bash
2
+
3
+## Version 1.0
4
+## Compiled by Kevin M. Cox
5
6
+## Adds the VPN icon to the Menu Bar and sets options for users the first time they login
7
+## These settings can then be changed by users
8
9
+# VPN Show Time Connected
10
11
+/usr/bin/defaults write com.apple.networkConnect VPNShowTime -bool true
12
13
+# VPN Show Status While Connecting
14
15
+/usr/bin/defaults write com.apple.networkConnect VPNShowStatus -bool true
16
17
+# Add VPN icon to Menu Bar
18
19
+/usr/bin/defaults write com.apple.systemuiserver menuExtras -array-add "/System/Library/CoreServices/Menu Extras/VPN.menu"
20
21
+# Restart the SystemUIServer so the VPN icon shows up right away
22
23
+killall SystemUIServer -HUP
0 commit comments