make all executor scripts testable/mockable
This commit is contained in:
parent
12307aeb9d
commit
05e8f9bbb5
2 changed files with 14 additions and 12 deletions
|
|
@ -1,11 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
start() {
|
||||
echo 1 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra
|
||||
${MOCK} echo 1 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra
|
||||
}
|
||||
|
||||
stop() {
|
||||
echo 0 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra
|
||||
${MOCK} echo 0 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra
|
||||
}
|
||||
|
||||
[ -z "$VERBOSE" ] || set -x
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue