mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-19 18:00:22 +01:00
Merge pull request #1426 from dennisreimann/patch-1
Mention the custom-installs.sh script
This commit is contained in:
commit
67ade48cae
4
FAQ.md
4
FAQ.md
@ -86,7 +86,7 @@ Of course, people should modify the system, add own scripts, etc ... but if you
|
||||
|
||||
1. Contribute your changes back to the main project as pull requests so that they become part of the next update - the next SD card release.
|
||||
|
||||
2. Make your changes so that they survive an SD card update easily - put all your scripts and extra data onto the HDD AND document for yourself how to activate them again after an update .. maybe even write a small shell script (stored on your HDD) that installs & configures all your additional packages, software and scripts.
|
||||
2. Make your changes so that they survive an SD card update easily - put all your scripts and extra data onto the HDD AND document for yourself how to activate them again after an update. The file `/mnt/hdd/app-data/custom-installs.sh` runs with sudo rights after an update/recovery from a fresh sd card. This is the place to put all the install commands, cronjobs or editing of system configs for your personal modifications of RaspiBlitz.
|
||||
|
||||
*BTW there is a beneficial side effect when updating with a new SD card: You also get rid of any malware or system bloat that happened in the past. You start with a fresh system :)*
|
||||
|
||||
@ -802,4 +802,4 @@ external hard disk in `/mnt/hdd/app-data/letsencrypt`.
|
||||
The RaspiBlitz is your computer to experiment with. Feel free to add your own scripts, edit the system or install further software from the command line. Just keep in mind that after an update/recovery the RaspiBlitz starts with a fresh and clean operating system again. So all your editings and installs might be gone. To prevent this you should do the following:
|
||||
|
||||
- place own scripts and data that should survive an update/recovery into the `/mnt/hdd/app-data` directory
|
||||
- put all install commands & modification of the system into the script `/mnt/hdd/app-data/custom-installs.sh` that will be started automatically on a recovery/update.
|
||||
- put all install commands & modification of the system into the script `/mnt/hdd/app-data/custom-installs.sh` that will be started automatically on a recovery/update.
|
||||
|
Loading…
Reference in New Issue
Block a user