executors: drop set -e, closes #121

This commit is contained in:
Ariadne Conill 2020-11-02 08:53:30 -07:00
parent b76981e832
commit 20d9e3fe91
16 changed files with 0 additions and 39 deletions

View file

@ -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

View file

@ -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() {

View file

@ -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>

View file

@ -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)

View file

@ -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 "

View file

@ -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

View file

@ -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"
} }

View file

@ -1,7 +1,4 @@
#!/bin/sh #!/bin/sh
set -e
[ -n "$VERBOSE" ] && set -x [ -n "$VERBOSE" ] && set -x
is_vlan() { is_vlan() {

View file

@ -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

View file

@ -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"

View file

@ -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)

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -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" ;;

View file

@ -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