소스 검색

Comments customised to the local network

Bob Mottram 8 년 전
부모
커밋
6074a4bb37
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      src/freedombone-controlpanel

+ 2
- 2
src/freedombone-controlpanel 파일 보기

@@ -1275,7 +1275,7 @@ function set_static_IP {
1275 1275
     dialog --title $"Set a static local IP address" \
1276 1276
            --backtitle $"Freedombone Control Panel" \
1277 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 1279
     sel=$?
1280 1280
     case $sel in
1281 1281
         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
1290 1290
     trap "rm -f $data" 0 1 2 5 15
1291 1291
     dialog --title $"Set the IP address of your internet router/modem" \
1292 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 1294
     sel=$?
1295 1295
     case $sel in
1296 1296
         0) NEW_STATIC_GATEWAY=$(<$data)