mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-22 16:10:55 +02:00
@@ -699,6 +699,21 @@ echo "*** HARDENING ***"
|
|||||||
# fail2ban (no config required)
|
# fail2ban (no config required)
|
||||||
sudo apt-get install -y --no-install-recommends python3-systemd fail2ban
|
sudo apt-get install -y --no-install-recommends python3-systemd fail2ban
|
||||||
|
|
||||||
|
if [ "${baseImage}" = "raspbian" ]; then
|
||||||
|
echo ""
|
||||||
|
echo "*** DISABLE BLUETOOTH ***"
|
||||||
|
|
||||||
|
# disable bluetooth module
|
||||||
|
sudo sh -c "echo 'dtoverlay=pi3-disable-bt' >> /boot/config.txt"
|
||||||
|
|
||||||
|
# remove bluetooth services
|
||||||
|
sudo systemctl disable bluetooth.service
|
||||||
|
sudo systemctl disable hciuart.service
|
||||||
|
|
||||||
|
# remove bluetooth packages
|
||||||
|
sudo apt remove -y --purge pi-bluetooth bluez bluez-firmware
|
||||||
|
fi
|
||||||
|
|
||||||
# *** BOOTSTRAP ***
|
# *** BOOTSTRAP ***
|
||||||
# see background README for details
|
# see background README for details
|
||||||
echo ""
|
echo ""
|
||||||
@@ -816,7 +831,6 @@ if [ "${baseImage}" = "raspbian" ]; then
|
|||||||
framebuffer_width=800
|
framebuffer_width=800
|
||||||
framebuffer_height=480
|
framebuffer_height=480
|
||||||
|
|
||||||
|
|
||||||
enable_dpi_lcd=1
|
enable_dpi_lcd=1
|
||||||
display_default_lcd=1
|
display_default_lcd=1
|
||||||
dpi_group=2
|
dpi_group=2
|
||||||
|
Reference in New Issue
Block a user