mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-21 06:11:31 +00:00
parent
38628afcc3
commit
5088253062
1 changed files with 0 additions and 5 deletions
|
@ -213,11 +213,6 @@ case "$1" in
|
|||
echo -e "\n### [firstrun] Use MAC address ${MACADDR} for Bluetooth from now" >>${Log})
|
||||
|
||||
case $BOARD_NAME in
|
||||
"MiQi")
|
||||
# set MAC for eth0
|
||||
MACADDR=$(printf 'da:42:ea:%02X:%02X:%02X\n' $[RANDOM%256] $[RANDOM%256] $[RANDOM%256])
|
||||
sed -i "s/^\#[^ tab]\+hwaddress ether/\thwaddress ether $MACADDR/" /etc/network/interfaces
|
||||
;;
|
||||
"NanoPi Air"|"Orange Pi Lite"|"NanoPi M1 Plus")
|
||||
# change serial port for BT on NanoPi Air and NanoPi M1 Plus
|
||||
sed -i "s/^PORT=.*/PORT=ttyS3/" /etc/default/ap6212
|
||||
|
|
Loading…
Add table
Reference in a new issue