mirror of
https://github.com/openoms/bitcoin-tutorials.git
synced 2025-12-19 04:54:18 +01:00
mixed additions
This commit is contained in:
17
raspiblitz-custom-install-scripts/README.md
Normal file
17
raspiblitz-custom-install-scripts/README.md
Normal file
@@ -0,0 +1,17 @@
|
||||
Raspiblitz custom installs
|
||||
|
||||
* default:
|
||||
```
|
||||
cat /mnt/hdd/app-data/custom-installs.sh
|
||||
```
|
||||
```
|
||||
#!/bin/bash
|
||||
|
||||
# This script 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
|
||||
|
||||
# note: use absolute paths if you point to specific files
|
||||
|
||||
echo "There are no custom user installs so far."
|
||||
```
|
||||
3
raspiblitz-custom-install-scripts/custom-installs.sh
Normal file
3
raspiblitz-custom-install-scripts/custom-installs.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
./tailscale.sh
|
||||
10
raspiblitz-custom-install-scripts/tailscale.sh
Normal file
10
raspiblitz-custom-install-scripts/tailscale.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "# Install Tailscale"
|
||||
mv /var/lib/tailscale /var/lib/tailscale.backup
|
||||
curl -fsSL https://tailscale.com/install.sh | sh
|
||||
systemctl stop tailscaled
|
||||
rm -rf /var/lib/tailscale
|
||||
cp -r /mnt/hdd/app-data/tailscale /var/lib
|
||||
systemctl start tailscaled
|
||||
echo "# Tailscale install done"
|
||||
Reference in New Issue
Block a user