Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
ffho-packages
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Freifunk Hochstift
ffho-packages
Commits
9708f541
Commit
9708f541
authored
10 years ago
by
Stefan Laudemann
Browse files
Options
Downloads
Patches
Plain Diff
Fixes some spelling and wording issues in ffpb-debug.
parent
96fe5fbb
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
ffpb/ffpb-debug/files/bin/ffpb-debug
+5
-6
5 additions, 6 deletions
ffpb/ffpb-debug/files/bin/ffpb-debug
with
5 additions
and
6 deletions
ffpb/ffpb-debug/files/bin/ffpb-debug
+
5
−
6
View file @
9708f541
...
...
@@ -49,7 +49,7 @@ if oldReport==nil then
-- no existing debugreport, let's generate a new one
-- inform the User ;)
print
(
'Hello,
i
will gather some information about your node now.'
)
print
(
'Hello,
I
will gather some information about your node now.'
)
print
(
'This may take some seconds, please stand by.'
)
-- first of all, collect some generic information about the system
...
...
@@ -119,12 +119,12 @@ end
-- if local mode is requested print the report, otherwise send it to the admin team
siteConfig
=
require
(
"gluon.site_config"
)
if
localMode
then
print
(
'As requested,
i
will not send the report
,
here it is:'
)
print
(
'As requested,
I
will not send the report
to the gurus, so
here it is:'
)
print
(
debugdata
)
nixio
.
fs
.
unlink
(
PATH_DBG_REPORT
)
else
local
nixio
=
require
(
'nixio'
),
require
(
'nixio.util'
)
print
(
'Sending
report to Admin-Team
...'
)
print
(
'Sending
debug data to a remote server
...'
)
local
sent
=
0
local
reportname
=
nil
local
port
=
siteConfig
.
debugserver
.
port
...
...
@@ -150,9 +150,8 @@ else
print
(
'
\n
Your report has been stored at the debug-server with the name: '
..
reportname
)
print
(
'I also notified some gurus to take care of the issue. My job is done here, good bye!.'
)
else
print
(
'Sorry, i could\'
t
send
the
report
.
I
will
try
it
again
')
print('
when
this
script
will
be
invoked
the
next
time
.
')
print('
Good
bye
')
print
(
'Sorry, I couldn\'
t
send
the
report
.
I
will
try
it
again
the
next
time
you
run
me
.
')
print('
See
you
soon
...
')
local f = nixio.open(PATH_DBG_REPORT, '
w
')
f:writeall(debugdata)
f:close()
...
...
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