This guide explains how to install the Void Linux on OVH VPS. This might also work for other VPS providers with the proper rescue system in place.
Table of contents:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# hddtemp=`sudo hddtemp -n /dev/sd?` | |
hddtemp=`for i in /dev/sd? ; do sudo hddtemp -n sata:$i; done` | |
echo /root/.config/tint2/tint2-executors/icons/drive-harddisk-root.svg | |
echo "$hddtemp°C" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SCRIPT_PATH=$(dirname $0) | |
handle_error(){ | |
echo $@ | |
exit 2; | |
} | |
#flash images | |
fastboot $* erase boot || handle_error erase boot error | |
fastboot $* erase metadata || handle_error erase metadata error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in /dev/sd? ; do sudo hddtemp sata:$i; done | |
for i in /dev/sd? ; do sudo hddtemp -n sata:$i; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/dash | |
# If you want to test the melody: Install sox and use the script grub-playtune | |
# grub-playtune 2000 400 4 0 1 500 4 0 1 600 4 0 1 800 6 | |
if [ $# -lt 3 ]; then | |
echo "Usage: $0 tempo freq dur [freq dur freq dur...]" >&2 | |
exit 1 | |
fi | |
tempo=$1; shift |
NewerOlder