diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2019-04-21 14:30:19 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2019-04-21 14:30:19 +0200 |
commit | 1e9a4f56f574471707244db9f7038ad0581dec16 (patch) | |
tree | e5899d6210542ceaa819b5173ba54a2865fcae4f /examples/var_service/supplicant_if | |
parent | e49a572b529dc7dcfb052c679074b9b87577e388 (diff) | |
download | busybox-1e9a4f56f574471707244db9f7038ad0581dec16.tar.gz |
examples/var_service: use "exec sleep 5" instead of "{ sleep 5; exit; }"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'examples/var_service/supplicant_if')
-rwxr-xr-x | examples/var_service/supplicant_if/run | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/var_service/supplicant_if/run b/examples/var_service/supplicant_if/run index bc16fb606..5c813b07f 100755 --- a/examples/var_service/supplicant_if/run +++ b/examples/var_service/supplicant_if/run @@ -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 |