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
04006ef0
Commit
04006ef0
authored
Aug 26, 2017
by
Igor Pecovnik
Browse files
Small bugfix
parent
aaf06114
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian-config-submenu
View file @
04006ef0
...
...
@@ -403,7 +403,10 @@ while true; do
fi
[[
-n
$(
nmcli device status |
grep
wifi |
grep
-v
unavailable
)
]]
&&
LIST+
=(
"WiFi"
"Manage wireless networking"
)
[[
$(
hcitool dev |
sed
'1d'
)
!=
""
&&
-n
$(
service bluetooth status |
grep
-w
active |
grep
-w
running
)
]]
&&
LIST+
=(
"Bluetooth"
"Connect Bluetooth devices"
)
if
[[
-n
$(
service bluetooth status |
grep
-w
active |
grep
-w
running
)
]]
;
then
[[
$(
hcitool dev |
sed
'1d'
)
!=
""
]]
&&
LIST+
=(
"Bluetooth"
"Connect Bluetooth devices"
)
fi
LIST+
=(
"Advanced"
"Edit /etc/network/interfaces"
)
# count number of menu items to adjust window sizee
...
...
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