Changed Default Kiosk URL
This commit is contained in:
1 parent
fb04c807b9
commit
5d2c706e8c
1 file changed
+2
-2
@@ -50,8 +50,8 @@ LOCATION="$(
|
|||||||
HOSTNAME="DISPLAY-NVR-$LOCATION"
|
HOSTNAME="DISPLAY-NVR-$LOCATION"
|
||||||
[[ ${#HOSTNAME} -le 63 ]] || die "Hostname too long: $HOSTNAME"
|
[[ ${#HOSTNAME} -le 63 ]] || die "Hostname too long: $HOSTNAME"
|
||||||
|
|
||||||
read -r -p "Enter the server URL (default: http://192.168.25.248): " URL_INPUT
|
read -r -p "Enter the server URL (default: http://192.168.25.249): " URL_INPUT
|
||||||
URL="${URL_INPUT:-http://192.168.25.248}"
|
URL="${URL_INPUT:-http://192.168.25.249}"
|
||||||
[[ "$URL" =~ ^https?:// ]] || die "URL must start with http:// or https://"
|
[[ "$URL" =~ ^https?:// ]] || die "URL must start with http:// or https://"
|
||||||
|
|
||||||
read -r -p "Enter daily reboot time in HH:MM format (default: 06:00): " REBOOT_TIME
|
read -r -p "Enter daily reboot time in HH:MM format (default: 06:00): " REBOOT_TIME
|
||||||
|
|||||||
Reference in new issue
Block a user