mirror of
https://github.com/PurpleComputing/Tailscale-scripts.git
synced 2026-02-03 05:53:23 +00:00
Update silent-oauth-prod.sh
This commit is contained in:
@@ -30,6 +30,9 @@ echo
|
||||
currentUser=$( echo "show State:/Users/ConsoleUser" | scutil | awk '/Name :/ { print $3 }' )
|
||||
uid=$(id -u "$currentUser")
|
||||
|
||||
echo "• Running as User: $currentUser with id: $uid"
|
||||
|
||||
|
||||
MODEL_INFO=$(system_profiler SPHardwareDataType | grep "Model Name" | sed 's/^ *//')
|
||||
PRETTY_MODEL=${MODEL_INFO/"Model Name: "/}
|
||||
SERIAL_INFO=$(system_profiler SPHardwareDataType | grep "Serial Number (system)" | sed 's/^ *//')
|
||||
|
||||
Reference in New Issue
Block a user