Make sure all changes requiring restart are accounted for

This commit is contained in:
Ana Custura 2026-03-06 12:41:45 +00:00
parent 83fd4c4ec5
commit 385dda36d7

View file

@ -5,8 +5,7 @@ from datetime import datetime
from subprocess import run from subprocess import run
import json import json
CHANGES_REQUIRING_RESTART = ['wifi_password', 'ssid', 'enable_access_point', 'enable_chat', 'enable_delta_chat', 'butterbox_hostname'] CHANGES_REQUIRING_RESTART = ['wifi_password', 'ssid', 'enable_access_point', 'enable_chat', 'enable_delta_chat', 'butterbox_hostname', 'ssh_access_settings', 'root_account_settings']
# 'ssh_access_settings', 'root_account_settings']
def lock_root_account(): def lock_root_account():
result = run(["sudo", "passwd", "-l", "root"]) result = run(["sudo", "passwd", "-l", "root"])