diff options
author | Kali Kaneko <kali@leap.se> | 2018-03-05 17:55:29 +0100 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2018-03-22 17:47:07 +0100 |
commit | 9ee4859558b868f01012c39dd98bf292d64e09f0 (patch) | |
tree | f4a96f62fb5bdd5da0b343ac0912866effc2184c /pkg/osx/scripts-riseupvpn/postinstall | |
parent | 176035bc57d22f2e7e879331b84f8d8afa232e0d (diff) |
[pkg] minor adjustments for riseupvpn osx bundle
- duplicate the scripts folder for riseupvpn
- fix renaming of helper
- set openvpn path for riseupvpn
Diffstat (limited to 'pkg/osx/scripts-riseupvpn/postinstall')
-rwxr-xr-x | pkg/osx/scripts-riseupvpn/postinstall | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pkg/osx/scripts-riseupvpn/postinstall b/pkg/osx/scripts-riseupvpn/postinstall new file mode 100755 index 00000000..93430390 --- /dev/null +++ b/pkg/osx/scripts-riseupvpn/postinstall @@ -0,0 +1,13 @@ +#!/bin/sh +# Bitmask Post-Instalation script +# (c) LEAP Encryption access Project +# We copy the bitmask-helper plist to the LaunchDaemons folder, and load the bitmask-helper that runs as root. + +LOG=/tmp/bitmask-install.log + +chmod +x /Applications/RiseupVPN.app/Contents/Resources/bitmask-helper/bitmask-helper +cp se.leap.bitmask-helper.plist /Library/LaunchDaemons/ \ + && echo `date` ":: Bitmask post-install: copied bitmask-helper Plist." >> $LOG +launchctl load /Library/LaunchDaemons/se.leap.bitmask-helper.plist && echo `date` ":: Bitmask post-install: loaded bitmask-helper." >> $LOG +echo `date` ":: Bitmask post-install: ok." >> $LOG +exit 0 |