Commit 0b28d2cc authored by Igor Pecovnik's avatar Igor Pecovnik
Browse files

Restart network manager after editing conf

parent a316be0e
...@@ -152,7 +152,7 @@ while true; do ...@@ -152,7 +152,7 @@ while true; do
"Network" ) "Network" )
dialog --backtitle "$BACKTITLE" --title "Edit network configuration" --no-collapse --editbox /etc/network/interfaces 30 0 2> /etc/network/interfaces.out dialog --backtitle "$BACKTITLE" --title "Edit network configuration" --no-collapse --editbox /etc/network/interfaces 30 0 2> /etc/network/interfaces.out
[[ $? = 0 ]] && mv /etc/network/interfaces.out /etc/network/interfaces [[ $? = 0 ]] && mv /etc/network/interfaces.out /etc/network/interfaces && service network-manager restart
;; ;;
"Hotspot" ) "Hotspot" )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment