File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 1+ export DEBIAN_FRONTEND=noninteractive
2+
13echo " Install Pi-Hole"
24curl -sSL https://install.pi-hole.net | sudo bash
35
@@ -11,8 +13,9 @@ git clone https://github.com/jmcerrejon/PiKISS.git && cd PiKISS
1113git config --global http.sslVerify false
1214git pull
1315
14- echo " Replace Bash shell with Dash shell"
15- sudo dpkg-reconfigure dash
16+ # TODO: might break DietPi
17+ # echo "Replace Bash shell with Dash shell"
18+ # sudo dpkg-reconfigure dash
1619
1720echo " Install PiApps-terminal_bash-edition"
1821echo " https://github.com/Itai-Nelken/PiApps-terminal_bash-edition"
@@ -27,6 +30,13 @@ APT::Get::AllowUnauthenticated "true";
2730Acquire::CompressionTypes::Order:: "gz";
2831APT::Acquire::Max-Parallel-Downloads "5";' | sudo tee /etc/apt/apt.conf.d/99parallel
2932
33+ echo -e ' APT::Periodic::Unattended-Upgrade "1";
34+ APT::Periodic::AutocleanInterval "7";
35+ APT::Periodic::Download-Upgradeable-Packages "1";
36+ Unattended-Upgrade::Remove-Unused-Dependencies "true";
37+ Unattended-Upgrade::AutoFixInterruptedDpkg "true";
38+ Unattended-Upgrade::MinimalSteps "true";' | sudo tee /etc/apt/apt.conf.d/50-unattended-upgrades
39+
3040
3141sudo netselect-apt stable && sudo mv sources.list /etc/apt/sources.list && sudo apt update
3242
You can’t perform that action at this time.
0 commit comments