mirror of https://github.com/Zelo72/rpi
2020.06.20-21:02:27
This commit is contained in:
parent
da466e7551
commit
6751770273
|
@ -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 ""
|
||||
|
||||
|
|
|
@ -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 ""
|
Loading…
Reference in New Issue