disable ttyd in chroot and re-enable on first boot

This commit is contained in:
nagumii 2025-02-19 14:14:38 +02:00
parent 01b65a6424
commit 9db705447e
2 changed files with 3 additions and 1 deletions

View file

@ -62,7 +62,8 @@ systemctl enable femto-boot-complete.service
systemctl enable femto-wifi-mesh-control
systemctl enable femto-watchclock-dog
systemctl disable meshtasticd
systemctl disable ttyd # enabled on first boot
systemctl disable meshtasticd # enabled on first boot
systemctl disable apt-daily.timer
systemctl disable unattended-upgrades
systemctl disable smbd nmbd # samba services, can be enabled via menu

View file

@ -115,6 +115,7 @@ femto-utils.sh -E
#generate ttyd SSL keys
log_message "Generating new Web Terminal (ttyd) SSL encryption keys. This can take a couple minutes..."
/usr/local/bin/packages/ttyd.sh -k
log_message "Enabling Web Terminal (ttyd) service...
systemctl enable ttyd
# remove first boot flag