Comments customised to the local network

This commit is contained in:
Bob Mottram 2016-10-22 20:36:22 +01:00
parent d47b2b6b1c
commit 6074a4bb37
1 changed files with 2 additions and 2 deletions

View File

@ -1275,7 +1275,7 @@ function set_static_IP {
dialog --title $"Set a static local IP address" \ dialog --title $"Set a static local IP address" \
--backtitle $"Freedombone Control Panel" \ --backtitle $"Freedombone Control Panel" \
--inputbox $"In order to forward incoming internet traffic to this system most internet routers need to know a static local IP address to send the data to.\n\n --inputbox $"In order to forward incoming internet traffic to this system most internet routers need to know a static local IP address to send the data to.\n\n
Enter a static local IP address for this system.\n\nIt will typically be 192.168.1.x" 15 60 "$STATIC_IP" 2>$data Enter a static local IP address for this system.\n\nIt will typically be ${IPv4_address_base}.x" 15 60 "$STATIC_IP" 2>$data
sel=$? sel=$?
case $sel in case $sel in
0) NEW_STATIC_IP=$(<$data) 0) NEW_STATIC_IP=$(<$data)
@ -1290,7 +1290,7 @@ Enter a static local IP address for this system.\n\nIt will typically be 192.168
trap "rm -f $data" 0 1 2 5 15 trap "rm -f $data" 0 1 2 5 15
dialog --title $"Set the IP address of your internet router/modem" \ dialog --title $"Set the IP address of your internet router/modem" \
--backtitle $"Freedombone Control Panel" \ --backtitle $"Freedombone Control Panel" \
--inputbox $"Set the local IP address for your internet router or ADSL modem.\n\nIt will typically be 192.168.1.1, 192.168.1.254, or similar" 12 60 "$STATIC_GATEWAY" 2>$data --inputbox $"Set the local IP address for your internet router or ADSL modem.\n\nIt will typically be ${IPv4_address_base}.1, ${IPv4_address_base}.254, or similar" 12 60 "$STATIC_GATEWAY" 2>$data
sel=$? sel=$?
case $sel in case $sel in
0) NEW_STATIC_GATEWAY=$(<$data) 0) NEW_STATIC_GATEWAY=$(<$data)