Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
0b28d2cc
Commit
0b28d2cc
authored
Apr 13, 2017
by
Igor Pecovnik
Browse files
Restart network manager after editing conf
parent
a316be0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian-config
View file @
0b28d2cc
...
...
@@ -152,7 +152,7 @@ while true; do
"Network"
)
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"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment