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
9e106488
Commit
9e106488
authored
Apr 08, 2017
by
Igor Pecovnik
Browse files
Move checking to proper location
parent
387af1aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian-config
View file @
9e106488
...
...
@@ -241,8 +241,6 @@ while true; do
;;
"Wireless"
)
# disable AP mode on certain adapters
wlan_exceptions
"off"
# scan for wifi modules
array
=(
$(
iw dev |
grep
Interface |
sed
-e
"s/
\t
Interface//"
)
)
declared_wlans
=
0
;
...
...
@@ -264,6 +262,8 @@ while true; do
dialog
--title
"Info"
--backtitle
"
$BACKTITLE
"
--no-collapse
--yesno
"
\n
Already connected to
$CURRENT_SSID
.
\n\n
Do you want to disconnect?"
9 57
[[
$?
=
0
]]
&&
nmcli connection down
id
$CURRENT_SSID
else
# disable AP mode on certain adapters
wlan_exceptions
"off"
nmtui-connect
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