Handle legacy non-present /qubes-mac qubesdb entry
This commit is contained in:
parent
325eff2b13
commit
1c54101663
@ -178,7 +178,7 @@ if [ -n "$INTERFACE" ]; then
|
||||
|
||||
# Handle legacy values
|
||||
LEGACY_MAC="$(/usr/bin/qubesdb-read /qubes-mac 2> /dev/null)"
|
||||
if [ "$MAC" == "$LEGACY_MAC" ]; then
|
||||
if [ "$MAC" == "$LEGACY_MAC" ] || [ "x$LEGACY_MAC" == "x" ]; then
|
||||
if [ "x$ip" == "x" ]; then
|
||||
ip="$(/usr/bin/qubesdb-read /qubes-ip 2> /dev/null)"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user