Handle default value for get_qubes_managed_iface
This commit is contained in:
parent
b18efe3257
commit
da162d7615
@ -140,7 +140,11 @@ get_qubes_managed_iface() {
|
|||||||
local qubes_iface
|
local qubes_iface
|
||||||
mac="$(qubesdb-read /qubes-mac)"
|
mac="$(qubesdb-read /qubes-mac)"
|
||||||
qubes_iface="$(get_iface_from_mac "$mac")"
|
qubes_iface="$(get_iface_from_mac "$mac")"
|
||||||
|
if [ "x$qubes_iface" != "x" ]; then
|
||||||
echo "$qubes_iface"
|
echo "$qubes_iface"
|
||||||
|
else
|
||||||
|
echo eth0
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
initialize_home() {
|
initialize_home() {
|
||||||
|
Loading…
Reference in New Issue
Block a user