Merge pull request #1214 from vasilisvg/patch-1
Added chapters about optimising boot time and about read-only filesystem. Thanks!
This commit is contained in:
@@ -193,6 +193,24 @@ denyinterfaces wlan0
|
||||
```
|
||||
From this point on, at least on the Raspberry Pi, if you reboot the machine, it will not reconnect to your network – instead, it will act as the WiFi base station you have configured with `hostapd` and `isc-dhcp-server`.
|
||||
|
||||
### Optimise startup time
|
||||
|
||||
There are quite a few services that are not necessary for this setup. Disabling them can increase startup time. Running these commands disables them:
|
||||
|
||||
````
|
||||
sudo systemctl disable systemd-timesyncd.service
|
||||
sudo systemctl disable keyboard-setup.service
|
||||
sudo systemctl disable triggerhappy.service
|
||||
sudo systemctl disable dhcpcd.service
|
||||
sudo systemctl disable wpa_supplicant.service
|
||||
sudo systemctl disable dphys-swapfile.service
|
||||
sudo systemctl disable networking.service
|
||||
````
|
||||
|
||||
### Read-only mode
|
||||
|
||||
Run `sudo raspi-config` and then choose `Performance Options` > `Overlay Filesystem` and choose to enable the overlay filesystem, and to set the boot partition to be write-protected.
|
||||
|
||||
### Ready
|
||||
Install the Raspberry Pi in your car. It should be powered from a source that is switched off when you leave the car, otherwise the slight current drain will eventually flatten the car's battery.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user