This commit is contained in:
tteckster 2023-03-20 23:02:34 -04:00 committed by GitHub
parent 1665cf8381
commit f5acf470de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -30,7 +30,7 @@ var_install="${NSAPP}-v5-install"
timezone=$(cat /etc/timezone) timezone=$(cat /etc/timezone)
INTEGER='^[0-9]+([.][0-9]+)?$' INTEGER='^[0-9]+([.][0-9]+)?$'
color color
trap errors
function default_settings() { function default_settings() {
echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}" echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"

View File

@ -30,7 +30,7 @@ var_install="${NSAPP}-v5-install"
timezone=$(cat /etc/timezone) timezone=$(cat /etc/timezone)
INTEGER='^[0-9]+([.][0-9]+)?$' INTEGER='^[0-9]+([.][0-9]+)?$'
color color
trap errors
function default_settings() { function default_settings() {
echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}" echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"

View File

@ -8,7 +8,7 @@
source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" source /dev/stdin <<< "$FUNCTIONS_FILE_PATH"
color color
verb_ip6 verb_ip6
trap errors
setting_up_container setting_up_container
network_check network_check
update_os update_os

View File

@ -8,7 +8,7 @@
source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" source /dev/stdin <<< "$FUNCTIONS_FILE_PATH"
color color
verb_ip6 verb_ip6
trap errors
setting_up_container setting_up_container
network_check network_check
update_os update_os

View File

@ -20,7 +20,7 @@ verb_ip6() {
if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; $STD sysctl -p; fi if [ "$DISABLEIPV6" == "yes" ]; then echo "net.ipv6.conf.all.disable_ipv6 = 1" >>/etc/sysctl.conf; $STD sysctl -p; fi
} }
trap() { errors() {
set -Eeuo pipefail set -Eeuo pipefail
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
} }