Skip to content

Commit

Permalink
disabled some more things
Browse files Browse the repository at this point in the history
  • Loading branch information
DieterHolz committed Apr 19, 2024
1 parent a07c119 commit 78cc18a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions base/base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ raspi-config nonint do_ssh 0
raspi-config nonint do_vnc 0

# Ensure required kernel modules are loaded
truncate -s0 /etc/modprobe.d/raspi-blacklist.conf
grep -qxF 'i2c-dev' || echo 'i2c-dev' >>/etc/modules
# truncate -s0 /etc/modprobe.d/raspi-blacklist.conf
# grep -qxF 'i2c-dev' || echo 'i2c-dev' >>/etc/modules

# Enable additional interfaces
raspi-config nonint do_i2c 0
raspi-config nonint do_spi 0

# Enable WiFi by default
for file in /var/lib/systemd/rfkill/*:wlan; do
echo 0 > "${file}"
done
# for file in /var/lib/systemd/rfkill/*:wlan; do
# echo 0 > "${file}"
# done

# Install and upgrade software packages
export DEBIAN_FRONTEND=noninteractive
Expand Down Expand Up @@ -74,11 +74,11 @@ ln -sf "${GLUON_JAVAFX_VERSION_PATH}" "${GLUON_JAVAFX_PATH}"
# fi

# Deploy default WiFi configuration
install -Dm 0644 /tmp/res-base/system/wpa-supplicant.conf /etc/wpa_supplicant/wpa_supplicant.conf
#install -Dm 0644 /tmp/res-base/system/wpa-supplicant.conf /etc/wpa_supplicant/wpa_supplicant.conf

# Deploy and enable MIME database regeneration script for first boot
install -Dm 0644 /tmp/res-base/system/pi4j-update-mime-db.service /etc/systemd/system/pi4j-update-mime-db.service
systemctl enable pi4j-update-mime-db.service
# install -Dm 0644 /tmp/res-base/system/pi4j-update-mime-db.service /etc/systemd/system/pi4j-update-mime-db.service
# systemctl enable pi4j-update-mime-db.service

# Disable getting started wizard
#rm /etc/xdg/autostart/piwiz.desktop
Expand Down

0 comments on commit 78cc18a

Please sign in to comment.