mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2025-07-26 05:14:43 +00:00
Fix broken on-boot examples (#628)
Co-authored-by: John Dorman <427295+boostchicken@users.noreply.github.com>
This commit is contained in:
@ -1,7 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Get DataDir location
|
||||
DATA_DIR="/data"case "$(ubnt-device-info firmware || true)" in
|
||||
DATA_DIR="/data"
|
||||
case "$(ubnt-device-info firmware || true)" in
|
||||
1*)
|
||||
DATA_DIR="/mnt/data"
|
||||
;;
|
||||
|
@ -1,7 +1,6 @@
|
||||
#!/bin/bash
|
||||
# Get DataDir location
|
||||
DATA_DIR="/data"
|
||||
|
||||
case "$(ubnt-device-info firmware || true)" in
|
||||
1*)
|
||||
DATA_DIR="/mnt/data"
|
||||
|
@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
# Get DataDir location
|
||||
DATA_DIR="/data"case "$(ubnt-device-info firmware || true)" in
|
||||
DATA_DIR="/data"
|
||||
case "$(ubnt-device-info firmware || true)" in
|
||||
1*)
|
||||
DATA_DIR="/mnt/data"
|
||||
;;
|
||||
|
@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
# Get DataDir location
|
||||
DATA_DIR="/data"case "$(ubnt-device-info firmware || true)" in
|
||||
DATA_DIR="/data"
|
||||
case "$(ubnt-device-info firmware || true)" in
|
||||
1*)
|
||||
DATA_DIR="/mnt/data"
|
||||
;;
|
||||
|
Reference in New Issue
Block a user