Otterwiki
Attachments
History
Blame
View Source
Changelog
Documentation
About An Otter Wiki
Toggle dark mode
Login
Home
A - Z
Page Index
1-Guides
Authentik-Basic-Setup-Guide
2-Code
Bash
Bootstrap-Script
Fish-Aliases
Mount-Point-Service-Sync
Docker
Docker-Shortcuts
Flash-Container
NV14
Project-F
Stick-RPG
Subway-Surfers
VSCode
K8S
Backup-Pushover-Notification
Home
Stalk-Me
2-Code
Bootstrap-Script
7eb0b4
Commit
7eb0b4
2025-07-06 21:50:09
Tebby Dog
: Sanitized
2-code/bootstrap-script.md
..
@@ 38,6 38,8 @@
Bootstrap Script
+
Copy-Pasta below, don't forget to modify the URL for pastey if you use it or eliminate that section from the above and the below comment in the block below.
+
```bash
echo "Check if running as root..."
if [[ $EUID -ne 0 ]]; then
@@ 79,12 81,16 @@
sudo apt install fish
chsh -s $(which fish)
fi
+
########################################################################
+
# Pastey is below
echo "Install pastey?"
if [[ "$answer" == "yes" ]] || [[ "$answer" == "y" ]]; then
-
curl https://pastey.tebplex.tv/pastey
+
curl https://somewebsite.com/pastey
sudo cp ./pastey /usr/local/bin/pastey
sudo chmod +x /usr/local/bin/pastey
fi
+
# Pastey is above
+
########################################################################
echo "Do you want to reboot now?" read answer
if [[ "$answer" == "yes" ]] || [[ "$answer" == "y" ]]; then
echo "Rebooting now..."
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9