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)
INTEGER='^[0-9]+([.][0-9]+)?$'
color
trap
errors
function default_settings() {
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)
INTEGER='^[0-9]+([.][0-9]+)?$'
color
trap
errors
function default_settings() {
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"
color
verb_ip6
trap
errors
setting_up_container
network_check
update_os

View File

@ -8,7 +8,7 @@
source /dev/stdin <<< "$FUNCTIONS_FILE_PATH"
color
verb_ip6
trap
errors
setting_up_container
network_check
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
}
trap() {
errors() {
set -Eeuo pipefail
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
}