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
46000125
Commit
46000125
authored
Oct 11, 2020
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userspace/rootfs_override: add radiusvlan to monit configuration
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
84e1282d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
radiusvlan.conf
userspace/rootfs_override/etc/monit.d/radiusvlan.conf
+4
-0
apply_dot-config
userspace/rootfs_override/wr/bin/apply_dot-config
+4
-0
No files found.
userspace/rootfs_override/etc/monit.d/radiusvlan.conf
0 → 100644
View file @
46000125
check
process
radiusvlan
matching
/
wr
/
bin
/
radiusvlan
start
program
=
"/etc/init.d/radiusvlan.sh start"
stop
program
=
"/etc/init.d/radiusvlan.sh stop"
if
5
restarts
within
10
cycles
then
exec
"/etc/init.d/reboot.sh radiusvlan"
userspace/rootfs_override/wr/bin/apply_dot-config
View file @
46000125
...
...
@@ -178,6 +178,10 @@ if [ "$CONFIG_MONIT_DISABLE" != "y" ]; then
monitor
=
0
fi
;;
radiusvlan
)
if
[
"
$CONFIG_RVLAN_DAEMON
"
!=
"y"
]
;
then
monitor
=
0
fi
;;
*
)
;;
esac
if
[[
$monitor
=
1
]]
;
then
...
...
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