diff options
-rwxr-xr-x | examples/var_service/dhcp_if/run | 4 | ||||
-rwxr-xr-x | examples/var_service/dhcpd_if/run | 4 | ||||
-rwxr-xr-x | examples/var_service/ifplugd_if/run | 2 | ||||
-rwxr-xr-x | examples/var_service/supplicant_if/run | 2 | ||||
-rwxr-xr-x | examples/var_service/zcip_if/run | 4 |
5 files changed, 8 insertions, 8 deletions
diff --git a/examples/var_service/dhcp_if/run b/examples/var_service/dhcp_if/run index aec79e027..d8f343586 100755 --- a/examples/var_service/dhcp_if/run +++ b/examples/var_service/dhcp_if/run | |||
@@ -8,9 +8,9 @@ pwd="$PWD" | |||
8 | if="${PWD##*/dhcp_}" | 8 | if="${PWD##*/dhcp_}" |
9 | 9 | ||
10 | echo "* Upping iface $if" | 10 | echo "* Upping iface $if" |
11 | ip link set dev "$if" up | 11 | ip link set dev "$if" up || { sleep 5; exit; } |
12 | 12 | ||
13 | echo "* Starting udhcpc" | 13 | echo "* Starting udhcpc on $if [$$]" |
14 | exec \ | 14 | exec \ |
15 | env - PATH="$PATH" \ | 15 | env - PATH="$PATH" \ |
16 | softlimit \ | 16 | softlimit \ |
diff --git a/examples/var_service/dhcpd_if/run b/examples/var_service/dhcpd_if/run index a603bdc71..e3d1b00f4 100755 --- a/examples/var_service/dhcpd_if/run +++ b/examples/var_service/dhcpd_if/run | |||
@@ -8,12 +8,12 @@ pwd="$PWD" | |||
8 | if="${PWD##*/dhcpd_}" | 8 | if="${PWD##*/dhcpd_}" |
9 | 9 | ||
10 | echo "* Upping iface $if" | 10 | echo "* Upping iface $if" |
11 | ip link set dev $if up | 11 | ip link set dev $if up || { sleep 5; exit; } |
12 | 12 | ||
13 | >>udhcpd.leases | 13 | >>udhcpd.leases |
14 | sed 's/^interface.*$/interface '"$if/" -i udhcpd.conf | 14 | sed 's/^interface.*$/interface '"$if/" -i udhcpd.conf |
15 | 15 | ||
16 | echo "* Starting udhcpd" | 16 | echo "* Starting udhcpd on $if [$$]" |
17 | exec \ | 17 | exec \ |
18 | env - PATH="$PATH" \ | 18 | env - PATH="$PATH" \ |
19 | softlimit \ | 19 | softlimit \ |
diff --git a/examples/var_service/ifplugd_if/run b/examples/var_service/ifplugd_if/run index 5c662f298..e7816619d 100755 --- a/examples/var_service/ifplugd_if/run +++ b/examples/var_service/ifplugd_if/run | |||
@@ -9,7 +9,7 @@ pwd="$PWD" | |||
9 | if="${PWD##*/ifplugd_}" | 9 | if="${PWD##*/ifplugd_}" |
10 | 10 | ||
11 | echo "* Upping iface $if" | 11 | echo "* Upping iface $if" |
12 | ip link set dev "$if" up | 12 | ip link set dev "$if" up || { sleep 5; exit; } |
13 | 13 | ||
14 | echo "* Starting ifplugd on $if [$$]" | 14 | echo "* Starting ifplugd on $if [$$]" |
15 | exec \ | 15 | exec \ |
diff --git a/examples/var_service/supplicant_if/run b/examples/var_service/supplicant_if/run index 279d18af5..bc16fb606 100755 --- a/examples/var_service/supplicant_if/run +++ b/examples/var_service/supplicant_if/run | |||
@@ -14,7 +14,7 @@ ip link set dev "$if" up || { sleep 5; exit; } | |||
14 | ##echo "* Powersave disable on $if" | 14 | ##echo "* Powersave disable on $if" |
15 | ##iw dev "$if" set power_save off | 15 | ##iw dev "$if" set power_save off |
16 | 16 | ||
17 | echo "* Starting wpa_supplicant" | 17 | echo "* Starting wpa_supplicant on $if [$$]" |
18 | exec \ | 18 | exec \ |
19 | env - PATH="$PATH" \ | 19 | env - PATH="$PATH" \ |
20 | softlimit \ | 20 | softlimit \ |
diff --git a/examples/var_service/zcip_if/run b/examples/var_service/zcip_if/run index 94a875465..699823246 100755 --- a/examples/var_service/zcip_if/run +++ b/examples/var_service/zcip_if/run | |||
@@ -8,9 +8,9 @@ pwd="$PWD" | |||
8 | if="${PWD##*/zcip_}" | 8 | if="${PWD##*/zcip_}" |
9 | 9 | ||
10 | echo "* Upping iface $if" | 10 | echo "* Upping iface $if" |
11 | ip link set dev "$if" up | 11 | ip link set dev "$if" up || { sleep 5; exit; } |
12 | 12 | ||
13 | echo "* Starting zcip" | 13 | echo "* Starting zcip on $if [$$]" |
14 | exec \ | 14 | exec \ |
15 | env - PATH="$PATH" \ | 15 | env - PATH="$PATH" \ |
16 | softlimit \ | 16 | softlimit \ |