diff --git a/unbound/installUnbound.sh b/unbound/installUnbound.sh index 3f02639f..7e708241 100644 --- a/unbound/installUnbound.sh +++ b/unbound/installUnbound.sh @@ -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 "" diff --git a/zram/installZram.sh b/zram/installZram.sh new file mode 100644 index 00000000..1ad91b1c --- /dev/null +++ b/zram/installZram.sh @@ -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 "" \ No newline at end of file