minor but critical typo in udev rule logic
This commit is contained in:
parent
23c5b533c1
commit
836822aebe
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue