WIP: Refactor fintic source code #1

Draft
c0de wants to merge 7 commits from begin-refactor into main
2 changed files with 3 additions and 17 deletions
Showing only changes of commit 312fbe78b0 - Show all commits

View File

@ -20,3 +20,6 @@ sudo touch /boot/ssh.txt
sudo sed -i 's/exit 0//g' /etc/rc.local sudo sed -i 's/exit 0//g' /etc/rc.local
echo "/usr/bin/tvservice -o" | sudo tee -a /etc/rc.local echo "/usr/bin/tvservice -o" | sudo tee -a /etc/rc.local
echo "exit 0" | sudo tee -a /etc/rc.local echo "exit 0" | sudo tee -a /etc/rc.local
# Run startup script at reboot; Register to cron for pi user
echo "@reboot sudo -E bash $HOME/fintic/startup.sh &" | sudo tee -a /var/spool/cron/pi

View File

@ -17,23 +17,6 @@
1. Configure boot configuration: `bash 03_update_boot_config.sh` 1. Configure boot configuration: `bash 03_update_boot_config.sh`
1. Reboot the pi: `sudo reboot now` 1. Reboot the pi: `sudo reboot now`
## Set to run at startup
add the startup script to crotab. Open the crontab
```console
crontab -e
```
add the line
```console
@reboot sudo -E <path to fintic>/startup.sh &
```
dont forget the ampersand!
also make sure that the paths in startup.sh are correct for your install location
## Install the hotspot ## Install the hotspot
```console ```console
cd ~ cd ~