Make sure all changes requiring restart are accounted for
This commit is contained in:
parent
83fd4c4ec5
commit
385dda36d7
1 changed files with 1 additions and 2 deletions
|
|
@ -5,8 +5,7 @@ from datetime import datetime
|
|||
from subprocess import run
|
||||
import json
|
||||
|
||||
CHANGES_REQUIRING_RESTART = ['wifi_password', 'ssid', 'enable_access_point', 'enable_chat', 'enable_delta_chat', 'butterbox_hostname']
|
||||
# 'ssh_access_settings', 'root_account_settings']
|
||||
CHANGES_REQUIRING_RESTART = ['wifi_password', 'ssid', 'enable_access_point', 'enable_chat', 'enable_delta_chat', 'butterbox_hostname', 'ssh_access_settings', 'root_account_settings']
|
||||
|
||||
def lock_root_account():
|
||||
result = run(["sudo", "passwd", "-l", "root"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue