Remove unused MiQi case

Replaced by 'rockchip' case in 7984848852
This commit is contained in:
Thomas Kaiser 2017-02-23 12:12:36 +01:00 committed by GitHub
parent 38628afcc3
commit 5088253062

View file

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