Browse Source

Message on changing static IP address

Bob Mottram 8 years ago
parent
commit
0c9863f2bd
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      src/freedombone-controlpanel

+ 6
- 0
src/freedombone-controlpanel View File

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