From: Roy Marples Date: Sat, 11 Oct 2014 00:44:20 +0000 (+0000) Subject: Work on OpenBSD sh, unset seems to add misc crap. X-Git-Tag: v6.5.1~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=907a5c24e36626a81c20de02c24e7de55f09163a;p=thirdparty%2Fdhcpcd.git Work on OpenBSD sh, unset seems to add misc crap. --- diff --git a/dhcpcd-run-hooks.in b/dhcpcd-run-hooks.in index 1bfa1b39..032ce9b2 100644 --- a/dhcpcd-run-hooks.in +++ b/dhcpcd-run-hooks.in @@ -52,7 +52,7 @@ list_interfaces() [ -e "$x" ] || continue for i in $interface_order; do if [ $i = "${x##*/}" ]; then - unset x + x= break fi done