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
4b25e9d6
Commit
4b25e9d6
authored
Aug 07, 2017
by
Igor Pecovnik
Browse files
Not completly reliable - going back to reboot method.
parent
4461de40
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian-config
View file @
4b25e9d6
...
@@ -746,11 +746,7 @@ while true; do
...
@@ -746,11 +746,7 @@ while true; do
service hostapd stop
service hostapd stop
if
[[
$response
=
0
]]
;
then
if
[[
$response
=
0
]]
;
then
mv
$TEMP_CONF
/etc/network/interfaces
mv
$TEMP_CONF
/etc/network/interfaces
service networking restart
reboot
ifdown
$DEFAULT_ADAPTER
ifup
$DEFAULT_ADAPTER
service hostapd start
#reboot
fi
fi
fi
fi
fi
fi
...
...
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