Commit 46000125 authored by Alessandro Rubini's avatar Alessandro Rubini

userspace/rootfs_override: add radiusvlan to monit configuration

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 84e1282d
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"
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment