executors: drop set -e, closes #121
This commit is contained in:
parent
b76981e832
commit
20d9e3fe91
16 changed files with 0 additions and 39 deletions
|
@ -8,8 +8,6 @@
|
||||||
#
|
#
|
||||||
# See interfaces-batman(5) for a list of supported options for hardifs as well as meshifs.
|
# See interfaces-batman(5) for a list of supported options for hardifs as well as meshifs.
|
||||||
#
|
#
|
||||||
set -e
|
|
||||||
|
|
||||||
if [ "$VERBOSE" ]; then
|
if [ "$VERBOSE" ]; then
|
||||||
set -x
|
set -x
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
# Sat, 03 Oct 2020 20:42:19 +0200
|
# Sat, 03 Oct 2020 20:42:19 +0200
|
||||||
# -- Maximilian Wilhelm <max@sdn.clinic>
|
# -- Maximilian Wilhelm <max@sdn.clinic>
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
[ -n "$VERBOSE" ] && set -x
|
[ -n "$VERBOSE" ] && set -x
|
||||||
|
|
||||||
get_bond_options() {
|
get_bond_options() {
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
set -e
|
|
||||||
[ -n "$VERBOSE" ] && set -x
|
[ -n "$VERBOSE" ] && set -x
|
||||||
|
|
||||||
# Copyright (C) 2012, 2020 Natanael Copa <ncopa@alpinelinux.org>
|
# Copyright (C) 2012, 2020 Natanael Copa <ncopa@alpinelinux.org>
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# some users provide a shell fragment for the hostname property.
|
# some users provide a shell fragment for the hostname property.
|
||||||
[ -n "$IF_HOSTNAME" ] && IF_HOSTNAME=$(eval echo $IF_HOSTNAME)
|
[ -n "$IF_HOSTNAME" ] && IF_HOSTNAME=$(eval echo $IF_HOSTNAME)
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
|
||||||
|
|
||||||
# gather params for a given prefix, based on executor-scripts/linux/tunnel.
|
# gather params for a given prefix, based on executor-scripts/linux/tunnel.
|
||||||
gather_params() {
|
gather_params() {
|
||||||
env | sed -E "
|
env | sed -E "
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# Executor for advanced GRE tunnel management.
|
# Executor for advanced GRE tunnel management.
|
||||||
|
|
||||||
[ -z "$IF_GRE_LOCAL" ] && exit 1
|
[ -z "$IF_GRE_LOCAL" ] && exit 1
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
${MOCK} /bin/sh -c "echo 1 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra"
|
${MOCK} /bin/sh -c "echo 1 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
[ -n "$VERBOSE" ] && set -x
|
[ -n "$VERBOSE" ] && set -x
|
||||||
|
|
||||||
is_vlan() {
|
is_vlan() {
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
|
||||||
|
|
||||||
[ -z "$IF_PPP_PROVIDER" ] && exit 0
|
[ -z "$IF_PPP_PROVIDER" ] && exit 0
|
||||||
|
|
||||||
case "$PHASE" in
|
case "$PHASE" in
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
[ -z "${VERBOSE}" ] || set -x
|
[ -z "${VERBOSE}" ] || set -x
|
||||||
|
|
||||||
[ -z "${IF_METRIC}" ] && IF_METRIC="1"
|
[ -z "${IF_METRIC}" ] && IF_METRIC="1"
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# Based on alpine's tunnel configuration script.
|
# Based on alpine's tunnel configuration script.
|
||||||
# Copyright (c) 2017 Kaarle Ritvanen
|
# Copyright (c) 2017 Kaarle Ritvanen
|
||||||
# Copyright (c) 2020 Ariadne Conill (extended for ifupdown-ng)
|
# Copyright (c) 2020 Ariadne Conill (extended for ifupdown-ng)
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
|
||||||
|
|
||||||
handle_init() {
|
handle_init() {
|
||||||
${MOCK} /sbin/ip link $1 $IFACE type vrf table $IF_VRF_TABLE
|
${MOCK} /sbin/ip link $1 $IFACE type vrf table $IF_VRF_TABLE
|
||||||
${MOCK} /sbin/ip rule $1 iif $IFACE table $IF_VRF_TABLE
|
${MOCK} /sbin/ip rule $1 iif $IFACE table $IF_VRF_TABLE
|
||||||
|
|
|
@ -16,9 +16,6 @@
|
||||||
# IF_VXLAN_AGEING Specifies the lifetime in seconds of FDB entries learnt by the kernel
|
# IF_VXLAN_AGEING Specifies the lifetime in seconds of FDB entries learnt by the kernel
|
||||||
# IF_VXLAN_DSTPORT UDP destination port to communicate to the remote VXLAN tunnel endpoint (default 4789)
|
# IF_VXLAN_DSTPORT UDP destination port to communicate to the remote VXLAN tunnel endpoint (default 4789)
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
[ -n "$VERBOSE" ] && set -x
|
[ -n "$VERBOSE" ] && set -x
|
||||||
|
|
||||||
# No VNI, nuthin' to do for us
|
# No VNI, nuthin' to do for us
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
[ -n "$VERBOSE" ] && set -x
|
[ -n "$VERBOSE" ] && set -x
|
||||||
[ -z "$IF_WIREGUARD_CONFIG_PATH" ] && IF_WIREGUARD_CONFIG_PATH="/etc/wireguard/$IFACE.conf"
|
[ -z "$IF_WIREGUARD_CONFIG_PATH" ] && IF_WIREGUARD_CONFIG_PATH="/etc/wireguard/$IFACE.conf"
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
|
||||||
[ -z "$IF_BOND_MEMBERS" ] && IF_BOND_MEMBERS="$IF_BOND_SLAVES"
|
[ -z "$IF_BOND_MEMBERS" ] && IF_BOND_MEMBERS="$IF_BOND_SLAVES"
|
||||||
case "$PHASE" in
|
case "$PHASE" in
|
||||||
depend) echo "$IF_BOND_MEMBERS" ;;
|
depend) echo "$IF_BOND_MEMBERS" ;;
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
|
||||||
case "$PHASE" in
|
case "$PHASE" in
|
||||||
depend)
|
depend)
|
||||||
if [ "$IF_BRIDGE_PORTS" != "none" ]; then
|
if [ "$IF_BRIDGE_PORTS" != "none" ]; then
|
||||||
|
|
Loading…
Reference in a new issue