瀏覽代碼

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
             echo '#    network 192.168.7.0' >> /etc/network/interfaces
1369
             echo '#    network 192.168.7.0' >> /etc/network/interfaces
1370
             echo '#    gateway 192.168.7.1' >> /etc/network/interfaces
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
             systemctl restart networking
1378
             systemctl restart networking
1373
 
1379
 
1374
             # see if the IP address has changed
1380
             # see if the IP address has changed