소스 검색

Message on changing static IP address

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

+ 6
- 0
src/freedombone-controlpanel 파일 보기

@@ -1369,6 +1369,12 @@ Enter a static local IP address for this system.\n\nIt will typically be 192.168
1369 1369
             echo '#    network 192.168.7.0' >> /etc/network/interfaces
1370 1370
             echo '#    gateway 192.168.7.1' >> /etc/network/interfaces
1371 1371
 
1372
+            clear
1373
+            echo ''
1374
+            echo $'Restarting the network daemon.'
1375
+            echo ''
1376
+            echo $'If you logged in using the previous IP address then you may need to close this terminal and log in again on the new one.'
1377
+
1372 1378
             systemctl restart networking
1373 1379
 
1374 1380
             # see if the IP address has changed