- These scripts default to calling out to scripts of the same name as defined by the custom configuration project (i.e. `$MAC_OS_CONFIG_PATH`). - This helps ensure the scripts in this project can be run appropriately even if the custom configuration project hasn't fully implemented all scripts yet. - This also helps illustrate what scripts are necessary when creating a custom configuration.
19 lines
350 B
Bash
Executable File
19 lines
350 B
Bash
Executable File
#! /usr/bin/env bash
|
|
|
|
# DESCRIPTION
|
|
# Applies basic system settings.
|
|
|
|
# SETTINGS
|
|
set -o nounset
|
|
set -o errexit
|
|
set -o pipefail
|
|
IFS=$'\n\t'
|
|
SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/apply_basic_settings"
|
|
|
|
# EXECUTION
|
|
if [[ -x "$SCRIPT_PATH" ]]; then
|
|
"$SCRIPT_PATH"
|
|
else
|
|
printf "WARNING: Basic settings script does not exist or is not executable.\n"
|
|
fi
|