Initial LanUps implementation and native installers
This commit is contained in:
commit
67a043c89b
66 files changed
+2870
No files matched your search
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
[ "${3:-/}" = / ] || { echo 'Install LanUps onto the running macOS system volume.' >&2; exit 1; }
|
||||
if launchctl print system/local.lanups.agent >/dev/null 2>&1; then launchctl bootout system/local.lanups.agent; fi
|
||||
user=$(/usr/bin/stat -f '%Su' /dev/console)
|
||||
case "$user" in root|loginwindow|_mbsetupuser|'') exit 0;; esac
|
||||
uid=$(id -u "$user")
|
||||
if launchctl print "gui/$uid/local.lanups.desktop" >/dev/null 2>&1; then launchctl bootout "gui/$uid/local.lanups.desktop"; fi
|
||||
Reference in new issue
Block a user