diff options
Diffstat (limited to 'dhcpcd-run-hooks.in')
| -rw-r--r-- | dhcpcd-run-hooks.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcpcd-run-hooks.in b/dhcpcd-run-hooks.in index 35ce93fb..ef0b0b70 100644 --- a/dhcpcd-run-hooks.in +++ b/dhcpcd-run-hooks.in @@ -29,12 +29,12 @@ uniqify() list_interfaces() { local i= x= ifaces= - for i in $iforder; do + for i in $interface_order; do [ -e "$1/$i" ] && ifaces="$ifaces${ifaces:+ }$i" done for x in "$1"/*; do [ -e "$x" ] || continue - for i in $iforder; do + for i in $interface_order; do if [ $i = "${x##*/}" ]; then unset x break |
