minor but critical typo in udev rule logic

This commit is contained in:
toby 2018-10-04 19:21:55 +02:00
parent 23c5b533c1
commit 836822aebe
1 changed files with 1 additions and 1 deletions

View File

@ -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