mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2024-08-30 18:32:21 +00:00
Fixed auto path created for att-ipv6 (#493)
This commit is contained in:
parent
d86f94d051
commit
30d5f7b21b
@ -19,13 +19,13 @@ case "$(ubnt-device-info firmware || true)" in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
# Check if the directory exists
|
# 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
|
# If it does not exist, create the directory
|
||||||
mkdir -p "$DATA_DIR"
|
mkdir -p "$DATA_DIR/att-ipv6"
|
||||||
echo "Directory '$DATA_DIR' created."
|
echo "Directory '$DATA_DIR/att-ipv6' created."
|
||||||
else
|
else
|
||||||
# If it already exists, print a message
|
# 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
|
fi
|
||||||
|
|
||||||
wan_iface="eth8" # "eth9" for UDM Pro WAN2
|
wan_iface="eth8" # "eth9" for UDM Pro WAN2
|
||||||
|
Loading…
Reference in New Issue
Block a user