This file contains hidden or 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
test | |
! |
This file contains hidden or 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
#check if conf exists | |
FILE=/Users/Shared/.config/rclone/rclone.conf | |
if test -f "$FILE"; then | |
echo "$FILE exists." | |
else | |
mkdir -pv /Users/Shared/.config/rclone/ | |
tee -a /Users/Shared/.config/rclone/rclone.conf << 'END' | |
[COMPUTERNAMEHERE] | |
type = drive | |
client_id = example.apps.googleusercontent.com |
This file contains hidden or 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
{ | |
"preferences": { | |
"button_title_text": "Ready to start the update?", | |
"button_sub_titletext": "Click on the button below.", | |
"cut_off_date": "2022-10-31-00:00", | |
"cut_off_date_warning": 14, | |
"days_between_notifications": 1, | |
"logo_path": "/Users/Shared/SA-Seal-Color.png", | |
"main_subtitle_text": "A friendly reminder from your local IT team", | |
"main_title_text": "macOS Update", |
This file contains hidden or 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
{ | |
"optionalFeatures": { | |
"acceptableApplicationBundleIDs": [], | |
"acceptableAssertionUsage": false, | |
"acceptableCameraUsage": false, | |
"acceptableScreenSharingUsage": false, | |
"aggressiveUserExperience": true, | |
"aggressiveUserFullScreenExperience": true, | |
"asynchronousSoftwareUpdate": true, | |
"attemptToBlockApplicationLaunches": false, |
This file contains hidden or 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 | |
#https://gist.github.com/dimitardanailov/6acdd54ab67d5a25c0229b2fe5bbb42b | |
#https://apple.stackexchange.com/questions/82472/what-steps-are-needed-to-create-a-new-user-from-the-command-line/84039#84039 | |
LOCAL_ADMIN_FULLNAME="Full Name" # The local admin user's full name | |
LOCAL_ADMIN_SHORTNAME="username" # The local admin user's shortname | |
LOCAL_ADMIN_PASSWORD="Password123" # The local admin user's password | |
# this is optional: |
This file contains hidden or 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 | |
#https://gist.github.com/dimitardanailov/6acdd54ab67d5a25c0229b2fe5bbb42b | |
#https://apple.stackexchange.com/questions/82472/what-steps-are-needed-to-create-a-new-user-from-the-command-line/84039#84039 | |
LOCAL_USER_FULLNAME="Testing" # The local user's full name | |
LOCAL_USER_SHORTNAME="testing" # The local user's shortname | |
LOCAL_USER_PASSWORD="password!" # The local user's password | |
LOCAL_USER_HINT="terrible pwd!" # The local user's password | |
IMAGEURL= # local user's picture, comment out if not needed, plus lines 24-25 |