Skip to content

Commit 1cfc7d2

Browse files
committed
f
1 parent 3b71b1a commit 1cfc7d2

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

os/network/justfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@ setup:
1010
# By default we are greeted with
1111
# "Wi-Fi is currently blocked by rfkill.
1212
# Enable wifi, country is unset, user will set it.
13+
# See https://github.com/RPi-Distro/raspberrypi-net-mods/blob/master/etc/profile.d/wifi-check.sh
1314
sudo rm -f /etc/profile.d/wifi-check.sh
14-
sudo nmcli radio wifi on || true # See also firstboot.sh
15+
16+
# Enable wifi by default
17+
sudo cp wifi.sh /etc/profile.d
1518

1619
wget https://github.com/grishy/go-avahi-cname/releases/download/v2.2.5/go-avahi-cname_2.2.5_linux_arm64.tar.gz -P /tmp
1720
cd /tmp && tar -xzf /tmp/go-avahi-cname_2.2.5_linux_arm64.tar.gz go-avahi-cname

os/network/wifi.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nmcli radio wifi on

os/raspberry/firstboot.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ rm -f /boot/firmware/pieeprom.sig
44
rm -f /boot/firmware/pieeprom.upd
55
rm -f /boot/firmware/RECOVERY.000
66
rm -f /boot/firmware/recovery.bin
7-
nmcli radio wifi on || true # See also network/justfile

0 commit comments

Comments
 (0)