Skip to content

Commit

Permalink
Fix some setup warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
marcone committed Oct 21, 2023
1 parent 7ece339 commit 450cbd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pi-gen-sources/00-teslausb-tweaks/files/rc.local
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ function enable_wifi () {
sed -i -e "s/$old_host_name/$new_host_name/g" /etc/hostname
fi

dpkg-reconfigure openssh-server
rfkill unblock wifi
dpkg-reconfigure -f noninteractive openssh-server
rfkill unblock wifi &> /dev/null || true
for i in /var/lib/systemd/rfkill/*:wlan ; do
echo 0 > "$i"
done
Expand Down

0 comments on commit 450cbd0

Please sign in to comment.