This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Functions for converting dates to/from JD and MJD. Assumes dates are historical | |
dates, including the transition from the Julian calendar to the Gregorian | |
calendar in 1582. No support for proleptic Gregorian/Julian calendars. | |
:Author: Matt Davis | |
:Website: http://github.com/jiffyclub | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
[[ $EUID == 0 ]] || { echo "Must be run as root."; exit; } | |
PKGNAME=AgentUninstaller | |
LOG=/tmp/$PKGNAME.log | |
touch $LOG | |
chmod a+rw $LOG | |
DAEMON_PLIST="/Library/LaunchDaemons/com.airwatch.airwatchd.plist" |