Fix all x86 mac addresses (#1001)

* For x86 devices, give unique macs to each bridge

* Typo
This commit is contained in:
Tim Wilkinson 2023-12-07 17:56:51 -08:00 committed by GitHub
parent e23348800f
commit 42e3c95ffb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ mfg=$(/usr/local/bin/get_hardware_mfg)
if [ "$eth0" = "$wlan0" -a "$eth0" != "" ]; then if [ "$eth0" = "$wlan0" -a "$eth0" != "" ]; then
fix="lan wan dtdlink" fix="lan wan dtdlink"
elif [ "$wlan0" = "" ]; then elif [ "$wlan0" = "" ]; then
fix="lan" fix="lan wan dtdlink"
elif [ "$brlan" = "00:03:7F:11:23:C6" ]; then # Fix AR300M elif [ "$brlan" = "00:03:7F:11:23:C6" ]; then # Fix AR300M
fix="lan" fix="lan"
elif [ "$mfg" = "MikroTik" ]; then # Fix all MikroTiks elif [ "$mfg" = "MikroTik" ]; then # Fix all MikroTiks