mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-29 20:23:01 +02:00
skeleton: mstpd: Let /sbin/bridge-stp add/remove bridges
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
# Daemon is managed by finit(1), /sbin/bridge-stp should assume that
|
||||
# it is already running and simply add/remove bridges as necessary
|
||||
MANAGE_MSTPD='n'
|
||||
@@ -0,0 +1,3 @@
|
||||
# -d: Do _not_ [sic] daemonize
|
||||
# -s: Log to syslog
|
||||
MSTPD_ARGS="-d -s"
|
||||
@@ -1,4 +1,4 @@
|
||||
# Make sure to configure the bridge to run on before starting mstpd
|
||||
# Note: all 'sysv' type services are handed an extra 'start' or 'stop'
|
||||
# argument when starting and stopping.
|
||||
sysv name:mstpd [0123456] pid:!/run/mstpd.pid bridge-stp br0 -- MSTP daemon
|
||||
# A single mstpd instance can manage multiple bridges, which are
|
||||
# dynamically added/removed by the kernel via the /sbin/bridge-stp
|
||||
# usermode helper.
|
||||
service [S0123456789] env:-/etc/default/mstpd mstpd $MSTPD_ARGS -- Spanning Tree daemon
|
||||
|
||||
Reference in New Issue
Block a user