#!/bin/sh -e

install.sh - Install files and set up the Pi for development modeΒΆ

This must be run from the directory containing this file. It assumes that install-prep.sh - Prepare for futher Pi installation has already been executed.

Set up networking. This was taken from Setting up a Bridged Wireless Access Point.

sudo apt install -y hostapd
sudo systemctl unmask hostapd
sudo systemctl enable hostapd
sudo cp -r files/* /
sudo systemctl enable systemd-networkd
sudo rfkill unblock wlan
 

Reboot for changes to take effect.

sudo systemctl reboot