Update default interfaces to use netdev generated services
This commit is contained in:
parent
20d41a45aa
commit
fd4e53a274
|
@ -3,7 +3,7 @@
|
|||
. ../../APKBUILD.template
|
||||
|
||||
pkgname=nnd-s6-services
|
||||
pkgver=2.47
|
||||
pkgver=2.48
|
||||
pkgrel=0
|
||||
pkgdesc="Base services for s6"
|
||||
depends="s6-rc s6-portable-utils s6-linux-utils"
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
#!/bin/execlineb -P
|
||||
define BRINFACE br0
|
||||
define SLAVEIFACE eth0
|
||||
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
emptyenv -p
|
||||
|
||||
ip link set dev $SLAVEIFACE master $BRINFACE
|
|
@ -0,0 +1 @@
|
|||
bundle
|
|
@ -1,7 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
define INTERFACE br0
|
||||
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
emptyenv -p
|
||||
|
||||
ip link del $INTERFACE
|
|
@ -1,7 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
define INTERFACE br0
|
||||
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
emptyenv -p
|
||||
|
||||
ip link add name $INTERFACE type bridge
|
||||
ip link add $INTERFACE type bridge
|
|
@ -1,7 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
define INTERFACE br0
|
||||
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
emptyenv -p
|
||||
|
||||
ip link set dev $INTERFACE down
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
define INTERFACE br0
|
||||
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
emptyenv -p
|
||||
|
||||
ip link set dev $INTERFACE up
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/execlineb -P
|
||||
define INTERFACE br0
|
||||
define PROP mcast_mld_version
|
||||
define STATE 2
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
emptyenv -p
|
||||
ip link set $INTERFACE type bridge $PROP $STATE
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
define INTERFACE br0
|
||||
define PROP mcast_querier
|
||||
define STATE 0
|
||||
ip link set $INTERFACE type bridge $PROP $STATE
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/execlineb -P
|
||||
define INTERFACE br0
|
||||
define PROP mcast_querier
|
||||
define STATE 1
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
emptyenv -p
|
||||
ip link set $INTERFACE type bridge $PROP $STATE
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
define INTERFACE br0
|
||||
define PROP mcast_router
|
||||
define STATE 0
|
||||
ip link set $INTERFACE type bridge $PROP $STATE
|
|
@ -0,0 +1 @@
|
|||
oneshot
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/execlineb -P
|
||||
define INTERFACE br0
|
||||
define PROP mcast_router
|
||||
define STATE 1
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
emptyenv -p
|
||||
ip link set $INTERFACE type bridge $PROP $STATE
|
|
@ -0,0 +1 @@
|
|||
oneshot
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/execlineb -P
|
||||
define INTERFACE br0
|
||||
define PROP mcast_snooping
|
||||
define STATE 0
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
emptyenv -p
|
||||
ip link set $INTERFACE type bridge $PROP $STATE
|
|
@ -1,7 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
define SLAVEIFACE eth0
|
||||
|
||||
define SLAVEIF eth0
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
emptyenv -p
|
||||
|
||||
ip link set dev $SLAVEIFACE nomaster
|
||||
ip link set dev $SLAVEIF nomaster
|
|
@ -0,0 +1 @@
|
|||
oneshot
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/execlineb -P
|
||||
define MASTERIF br0
|
||||
define SLAVEIF eth0
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
emptyenv -p
|
||||
ip link set dev $SLAVEIF master $MASTERIF
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
define INTERFACE br0
|
||||
define PROP stp_state
|
||||
define STATE 0
|
||||
ip link set $INTERFACE type bridge $PROP $STATE
|
|
@ -0,0 +1 @@
|
|||
oneshot
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/execlineb -P
|
||||
define INTERFACE br0
|
||||
define PROP stp_state
|
||||
define STATE 1
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
emptyenv -p
|
||||
ip link set $INTERFACE type bridge $PROP $STATE
|
|
@ -0,0 +1 @@
|
|||
oneshot
|
|
@ -1,7 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
define INTERFACE eth0
|
||||
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
emptyenv -p
|
||||
|
||||
bcnm-waitif -u 1 $INTERFACE
|
||||
bcnm-waitif 1 $INTERFACE
|
|
@ -1,7 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
define INTERFACE eth0
|
||||
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
emptyenv -p
|
||||
|
||||
ip link set dev $INTERFACE down
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
define INTERFACE eth0
|
||||
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
emptyenv -p
|
||||
|
||||
ip link set dev $INTERFACE up
|
||||
|
|
Loading…
Reference in New Issue