#!/bin/sh -e

install.sh - Install files and set up the Pi for production 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. It somewhat follows the official Pi docs.

Set up networking.

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

Reboot for changes to take effect.

sudo systemctl reboot