build: allow for non-linux executors
This commit is contained in:
parent
c1e1d30a58
commit
43c147c6cf
4 changed files with 4 additions and 2 deletions
17
executor-scripts/linux/ipv6-ra
Executable file
17
executor-scripts/linux/ipv6-ra
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
start() {
|
||||
echo 1 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra
|
||||
}
|
||||
|
||||
stop() {
|
||||
echo 0 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra
|
||||
}
|
||||
|
||||
[ -z "$VERBOSE" ] || set -x
|
||||
|
||||
case "$PHASE" in
|
||||
up) start $impl ;;
|
||||
down) stop $impl ;;
|
||||
*) ;;
|
||||
esac
|
Loading…
Add table
Add a link
Reference in a new issue