summaryrefslogtreecommitdiff
path: root/pkg/osx/install/install-leapc.sh
diff options
context:
space:
mode:
authorkali <kali@leap.se>2013-01-07 21:10:41 +0900
committerkali <kali@leap.se>2013-01-08 00:34:45 +0900
commite35eb606faef1ccd06201a0b38a462375426cedd (patch)
treeb3efcd1861c846e0c3ce4f452a253970cfd2ffe3 /pkg/osx/install/install-leapc.sh
parent656419216f15bfb1859ba850d2d9c9d143034e23 (diff)
Working OSX installer workflow.
Using platypus for installer. Working installer at 17.6MB compressed.
Diffstat (limited to 'pkg/osx/install/install-leapc.sh')
-rwxr-xr-xpkg/osx/install/install-leapc.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkg/osx/install/install-leapc.sh b/pkg/osx/install/install-leapc.sh
new file mode 100755
index 00000000..d47b8f45
--- /dev/null
+++ b/pkg/osx/install/install-leapc.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+echo "Installing LEAP Client in /Applications"
+cp -r "LEAP Client.app" "/Applications"
+
+echo "Copying openvpn binary"
+cp -r openvpn.leap /usr/bin
+
+
+echo "Installing tun/tap drivers"
+cp -r Extensions/* /Library/Extensions
+cp -r StartupItems/* /Library/StartupItems
+
+echo "Loading tun/tap kernel extension"
+/Library/StartupItems/tun/tun start
+
+echo "Installation Finished!"