blob: 038d7cbea8c8c9558a2affd8a11c1a502154a125 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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/$app_name.app/Contents/MacOS/bitmask_helper
cp se.leap.bitmask-helper.plist /Library/LaunchDaemons/ \
&& echo `date` ":: $app_name post-install: copied bitmask-helper Plist." >> $LOG
launchctl load /Library/LaunchDaemons/se.leap.bitmask-helper.plist && echo `date` ":: $app_name post-install: loaded bitmask-helper." >> $LOG
echo `date` ":: $app_name post-install: ok." >> $LOG
exit 0
|