Skip to content

Commit

Permalink
test things
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm001 committed Dec 24, 2023
1 parent fadc0d6 commit 4096515
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions install_pi.sh
Original file line number Diff line number Diff line change
@@ -1,24 +1,29 @@
# Run normal photon instarller

pushd .
cd /tmp
wget https://git.io/JJrEP -O install.sh
chmod +x install.sh
./install.sh

sudo apt-get update
apt-get install -y pigpiod pigpio device-tree-compiler dhcpcd5 network-manager net-tools

# and edit boot partition

popd
install -m 644 config.txt /boot/
install -m 644 userconf.txt /boot/

# Kill wifi and other networking things
install -v -m 644 files/wait.conf /etc/systemd/system/dhcpcd.service.d/
install -v files/rpi-blacklist.conf /etc/modprobe.d/blacklist.conf

# Enable ssh
systemctl enable ssh

# Remove extra packages too

apt-get purge -y python3 gdb gcc g++ linux-headers* libgcc*-dev *qt*
# apt-get purge -y python3 gdb gcc g++ linux-headers* libgcc*-dev *qt*
apt-get autoremove -y

rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit 4096515

Please sign in to comment.