summaryrefslogtreecommitdiff
path: root/pkg/osx/install/install-leapc.sh
blob: 2ecfc08e19b056f02d63f8e936e8975d1b227492 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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!"

ln -s /Applications/LEAP\ Client.app/ /Volumes/LEAP\ Client\ installer/