Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Gluon SSID Changer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
firmware
Gluon SSID Changer
Commits
0eed62e7
Commit
0eed62e7
authored
9 years ago
by
MrMM
Browse files
Options
Downloads
Patches
Plain Diff
quality below (100) is displayed as ( 50), the space must be compensated
parent
1d6e1ef5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
files/lib/gluon/ssid-changer/ssid-changer.sh
+1
-1
1 addition, 1 deletion
files/lib/gluon/ssid-changer/ssid-changer.sh
with
1 addition
and
1 deletion
files/lib/gluon/ssid-changer/ssid-changer.sh
+
1
−
1
View file @
0eed62e7
...
...
@@ -6,7 +6,7 @@ ONLINE_SSID='Freifunk'
OFFLINE_PREFIX
=
'FF_OFFLINE_'
# Use something short to leave space for the nodename
#Is there an active Gateway?
GATEWAY_TQ
=
`
batctl gwl |
grep
"^=>"
|
cut
-d
"
"
-f
3
|
tr
-d
"
()
"
`
GATEWAY_TQ
=
`
batctl gwl |
grep
"^=>"
|
cut
-d
"
("
-f2
|
cut
-d
")
"
-f
1
|
tr
-d
"
"
`
if
[
$GATEWAY_TQ
-gt
50
]
;
then
echo
"Gateway TQ is
$GATEWAY_TQ
node is online"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment