diff --git a/etc/sudoers.d/stormux-service-state b/etc/sudoers.d/stormux-service-state new file mode 100644 index 0000000..7054199 --- /dev/null +++ b/etc/sudoers.d/stormux-service-state @@ -0,0 +1 @@ +%wheel ALL=(ALL) NOPASSWD: /home/stormux/.local/bin/stormux_service_state.sh * diff --git a/root/sanitize.sh b/root/sanitize.sh index 4aa4e6a..e233729 100644 --- a/root/sanitize.sh +++ b/root/sanitize.sh @@ -58,7 +58,11 @@ rm -rfv "/home/stormux/.local/share/LWorks" # Disable services systemctl disable bluetooth.service systemctl disable fstrim.timer -systemctl disable sshd.service + +# Keep SSH enabled temporarily while the gaming image transition is being tested. +systemctl enable sshd.service +mkdir -p /home/stormux/.local/.services +touch /home/stormux/.local/.services/sshd.service # Enable battery monitoring service systemctl enable battery-monitor.service