2020.06.20-21:02:27

This commit is contained in:
Gerd Zelo 2020-06-20 21:02:27 +02:00
parent da466e7551
commit 6751770273
2 changed files with 28 additions and 1 deletions

View File

@ -13,7 +13,7 @@ fi
echo "*** Unbound installieren"
echo ""
apt-get update
apt-get install unbound -y
apt-get install unbound dnsutils -y
echo ""
echo ""

27
zram/installZram.sh Normal file
View File

@ -0,0 +1,27 @@
#!/bin/bash
# Script zur Installation und Konfiguration von zram-config
# Log (/var/log) und Swap wird ins ZRAM verlegt um SD-Schreibzugriffe zu minimieren.
# https://github.com/StuartIanNaylor/zram-config
echo "*** zram-config installieren"
echo ""
sudo apt-get install git
cd "$HOME" || exit
git clone https://github.com/StuartIanNaylor/zram-config
cd zram-config || exit
sudo sh install.sh
echo ""
echo ""
read -p "Das System muss neu gestartet werden, Reboot durchführen (j/n)? " respntp
if [ "$respntp" != "${respntp#[Jj]}" ]; then
echo "*** System wird neu gestartet ..."
echo ""
sudo reboot
fi
echo ""
echo "*** System muss neu gestartet werden, bitte manuell 'sudo reboot' ausführen!"
echo ""
echo ""