Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
packages
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
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
packages
Commits
8ff93e95
Commit
8ff93e95
authored
8 years ago
by
Johannes Rudolph
Browse files
Options
Downloads
Patches
Plain Diff
check if nil
parent
6702bdf1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!29
Banner with Hoodname
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
banner/luasrc/usr/sbin/ffnw-banner
+3
-0
3 additions, 0 deletions
banner/luasrc/usr/sbin/ffnw-banner
with
3 additions
and
0 deletions
banner/luasrc/usr/sbin/ffnw-banner
+
3
−
0
View file @
8ff93e95
...
@@ -18,6 +18,9 @@ infoHeader["revision"] = ""
...
@@ -18,6 +18,9 @@ infoHeader["revision"] = ""
infoHeader
[
"gluonVersion"
]
=
""
infoHeader
[
"gluonVersion"
]
=
""
infoHeader
[
"gluonRelease"
]
=
""
infoHeader
[
"gluonRelease"
]
=
""
infoHeader
[
"hoodname"
]
=
uci
:
get
(
'hoodselector'
,
'hoodselector'
,
'hood'
)
infoHeader
[
"hoodname"
]
=
uci
:
get
(
'hoodselector'
,
'hoodselector'
,
'hood'
)
if
infoHeader
[
"hoodname"
]
==
nil
then
infoHeader
[
"hoodname"
]
=
""
end
if
openwrtRelease
~=
nil
then
if
openwrtRelease
~=
nil
then
for
line
in
openwrtRelease
:
lines
()
do
for
line
in
openwrtRelease
:
lines
()
do
...
...
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