From 30d5f7b21bab9117d78ff6ed5dc50d3e443b7213 Mon Sep 17 00:00:00 2001 From: bruvv <3063928+bruvv@users.noreply.github.com> Date: Wed, 22 Feb 2023 17:54:05 +0100 Subject: [PATCH] Fixed auto path created for att-ipv6 (#493) --- att-ipv6/10-att-ipv6.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/att-ipv6/10-att-ipv6.sh b/att-ipv6/10-att-ipv6.sh index fcd064a..69823be 100755 --- a/att-ipv6/10-att-ipv6.sh +++ b/att-ipv6/10-att-ipv6.sh @@ -19,13 +19,13 @@ case "$(ubnt-device-info firmware || true)" in ;; esac # Check if the directory exists -if [ ! -d "$DATA_DIR" ]; then +if [ ! -d "$DATA_DIR/att-ipv6" ]; then # If it does not exist, create the directory - mkdir -p "$DATA_DIR" - echo "Directory '$DATA_DIR' created." + mkdir -p "$DATA_DIR/att-ipv6" + echo "Directory '$DATA_DIR/att-ipv6' created." else # If it already exists, print a message - echo "Directory '$DATA_DIR' already exists. Moving on." + echo "Directory '$DATA_DIR/att-ipv6' already exists. Moving on." fi wan_iface="eth8" # "eth9" for UDM Pro WAN2