Fix ifaces_have_host regexp.
This commit is contained in:
parent
609b157af8
commit
1f85767b3a
@ -173,7 +173,7 @@ commit_cache()
|
|||||||
# first iteration: host-interfaces, that one that have infants
|
# first iteration: host-interfaces, that one that have infants
|
||||||
# second iteration: vlan, bridges, etc...
|
# second iteration: vlan, bridges, etc...
|
||||||
local ifaces_all=($(find "$cachedir" -maxdepth 1 -mindepth 1 -type d | sort))
|
local ifaces_all=($(find "$cachedir" -maxdepth 1 -mindepth 1 -type d | sort))
|
||||||
local ifaces_have_host=($(find "$cachedir" -maxdepth 2 -mindepth 2 -type f -name "options" -exec grep -l "HOST" '{}' \+ | sed -e 's,/[^/]\+$,,' | sort))
|
local ifaces_have_host=($(find "$cachedir" -maxdepth 2 -mindepth 2 -type f -name "options" -exec grep -l "^HOST=" '{}' \+ | sed -e 's,/[^/]\+$,,' | sort))
|
||||||
|
|
||||||
local ifaces_not_infants=()
|
local ifaces_not_infants=()
|
||||||
local skip=
|
local skip=
|
||||||
|
Loading…
x
Reference in New Issue
Block a user