From 9db705447e8a218e659e89e8275d5b01a3e92831 Mon Sep 17 00:00:00 2001 From: nagumii Date: Wed, 19 Feb 2025 14:14:38 +0200 Subject: [PATCH] disable ttyd in chroot and re-enable on first boot --- environment-setup/femtofox.chroot | 3 ++- .../out/rootfs_uclibc_rv1106/usr/local/bin/femto-runonce.sh | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/environment-setup/femtofox.chroot b/environment-setup/femtofox.chroot index 19d213c..d0274df 100644 --- a/environment-setup/femtofox.chroot +++ b/environment-setup/femtofox.chroot @@ -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 diff --git a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-runonce.sh b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-runonce.sh index c0d19ac..a319a38 100755 --- a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-runonce.sh +++ b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-runonce.sh @@ -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