Bläddra i källkod

Comments customised to the local network

Bob Mottram 8 år sedan
förälder
incheckning
6074a4bb37
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2
    2
      src/freedombone-controlpanel

+ 2
- 2
src/freedombone-controlpanel Visa fil

1275
     dialog --title $"Set a static local IP address" \
1275
     dialog --title $"Set a static local IP address" \
1276
            --backtitle $"Freedombone Control Panel" \
1276
            --backtitle $"Freedombone Control Panel" \
1277
            --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
1277
            --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
1278
-Enter a static local IP address for this system.\n\nIt will typically be 192.168.1.x" 15 60 "$STATIC_IP" 2>$data
1278
+Enter a static local IP address for this system.\n\nIt will typically be ${IPv4_address_base}.x" 15 60 "$STATIC_IP" 2>$data
1279
     sel=$?
1279
     sel=$?
1280
     case $sel in
1280
     case $sel in
1281
         0) NEW_STATIC_IP=$(<$data)
1281
         0) NEW_STATIC_IP=$(<$data)
1290
     trap "rm -f $data" 0 1 2 5 15
1290
     trap "rm -f $data" 0 1 2 5 15
1291
     dialog --title $"Set the IP address of your internet router/modem" \
1291
     dialog --title $"Set the IP address of your internet router/modem" \
1292
            --backtitle $"Freedombone Control Panel" \
1292
            --backtitle $"Freedombone Control Panel" \
1293
-           --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
1293
+           --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
1294
     sel=$?
1294
     sel=$?
1295
     case $sel in
1295
     case $sel in
1296
         0) NEW_STATIC_GATEWAY=$(<$data)
1296
         0) NEW_STATIC_GATEWAY=$(<$data)