Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
12efd53e
Commit
12efd53e
authored
Oct 14, 2020
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rvlan: toggle verbose mode on SIGUSR2
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
83719763
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
radiusvlan.c
userspace/tools/radiusvlan.c
+7
-0
No files found.
userspace/tools/radiusvlan.c
View file @
12efd53e
...
...
@@ -833,6 +833,13 @@ int main(int argc, char **argv)
rvlan_gotsignal
=
0
;
}
if
(
rvlan_gotsignal
==
SIGUSR2
)
{
FILE
*
f
;
verbose
=
!
verbose
;
f
=
fopen
(
"/tmp/rvlan-is-verbose"
,
"w"
);
if
(
f
)
{
fprintf
(
f
,
"%i
\n
"
,
verbose
);
fclose
(
f
);
}
rvlan_reauth
();
rvlan_gotsignal
=
0
;
}
...
...
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