examples/var_service/dhcp_if/run+1 -1
| @@ -8,7 +8,7 @@ pwd="$PWD" |
| if="${PWD##*/dhcp_}" |
| |
| echo "* Upping iface $if" |
| - | ip link set dev "$if" up || { sleep 5; exit; } |
| + | ip link set dev "$if" up || exec sleep 5 |
| |
| echo "* Starting udhcpc on $if [$$]" |
| exec \ |
examples/var_service/dhcpd_if/run+1 -1
| @@ -8,7 +8,7 @@ pwd="$PWD" |
| if="${PWD##*/dhcpd_}" |
| |
| echo "* Upping iface $if" |
| - | ip link set dev $if up || { sleep 5; exit; } |
| + | ip link set dev $if up || exec sleep 5 |
| |
| >>udhcpd.leases |
| sed 's/^interface.*$/interface '"$if/" -i udhcpd.conf |
examples/var_service/ifplugd_if/run+1 -1
| @@ -9,7 +9,7 @@ pwd="$PWD" |
| if="${PWD##*/ifplugd_}" |
| |
| echo "* Upping iface $if" |
| - | ip link set dev "$if" up || { sleep 5; exit; } |
| + | ip link set dev "$if" up || exec sleep 5 |
| |
| echo "* Starting ifplugd on $if [$$]" |
| exec \ |
examples/var_service/supplicant_if/run+1 -1
| @@ -9,7 +9,7 @@ if="${PWD##*/dhcp_}" |
| |
| echo "* Upping iface $if" |
| # "or sleep" idiom prevents rapid respawning if iface does not exist |
| - | ip link set dev "$if" up || { sleep 5; exit; } |
| + | ip link set dev "$if" up || exec sleep 5 |
| |
| ##echo "* Powersave disable on $if" |
| ##iw dev "$if" set power_save off |
examples/var_service/zcip_if/run+1 -1
| @@ -8,7 +8,7 @@ pwd="$PWD" |
| if="${PWD##*/zcip_}" |
| |
| echo "* Upping iface $if" |
| - | ip link set dev "$if" up || { sleep 5; exit; } |
| + | ip link set dev "$if" up || exec sleep 5 |
| |
| echo "* Starting zcip on $if [$$]" |
| exec \ |