Fix bluetooth rfkill unblock - 0 is unblocked
This commit is contained in:
parent
c8d0e0b0bb
commit
b15527e15b
@ -8,7 +8,7 @@
|
|||||||
mkdir -p "${ROOTFS_DIR}/var/lib/systemd/rfkill/"
|
mkdir -p "${ROOTFS_DIR}/var/lib/systemd/rfkill/"
|
||||||
# 5 miniuart 4 miniuart Zero miniuart other other
|
# 5 miniuart 4 miniuart Zero miniuart other other
|
||||||
for addr in 107d50c000.serial 3f215040.serial 20215040.serial fe215040.serial soc; do
|
for addr in 107d50c000.serial 3f215040.serial 20215040.serial fe215040.serial soc; do
|
||||||
echo 1 > "${ROOTFS_DIR}/var/lib/systemd/rfkill/platform-${addr}:bluetooth"
|
echo 0 > "${ROOTFS_DIR}/var/lib/systemd/rfkill/platform-${addr}:bluetooth"
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ -v WPA_COUNTRY ]; then
|
if [ -v WPA_COUNTRY ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user