#!/bin/sh
# Load the Pulse27 TTL65 daemon (best effort; a reboot also loads it).
PLIST="/var/jb/Library/LaunchDaemons/com.kyle.pulse27.ttl65.plist"
for lc in /var/jb/usr/bin/launchctl /usr/bin/launchctl launchctl; do
    if command -v "$lc" >/dev/null 2>&1 || [ -x "$lc" ]; then
        "$lc" unload "$PLIST" >/dev/null 2>&1
        "$lc" load "$PLIST" >/dev/null 2>&1
        break
    fi
done
exit 0
