From 836822aebe82f4aba927d6781db81b356bc57c40 Mon Sep 17 00:00:00 2001 From: toby Date: Thu, 4 Oct 2018 19:21:55 +0200 Subject: [PATCH] minor but critical typo in udev rule logic --- debian/wit-network-config.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/wit-network-config.postinst b/debian/wit-network-config.postinst index 5e0a2fa..2934031 100755 --- a/debian/wit-network-config.postinst +++ b/debian/wit-network-config.postinst @@ -111,7 +111,7 @@ case "$1" in do ifmac=${MACS[$if]} [ "$if" == "mgmt" ] && if=mgmt1 - [ -z "$ifmac" ] || echo 'SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=='$mac', ATTR{type}=="1", NAME="'${if}'"' + [ -z "$ifmac" ] || echo 'SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=='$ifmac', ATTR{type}=="1", NAME="'${if}'"' done >/etc/udev/rules.d/70-persistent-net.rules