diff options
| author | Christian Breunig <christian@breunig.cc> | 2025-07-30 21:13:49 +0100 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2025-07-30 21:13:49 +0100 |
| commit | 2ac530f45d9d5f2ab7bafcc1de65284d8eef85bb (patch) | |
| tree | 55dbb540f01100fd136bb703c4345949212924bd /src | |
| parent | a551fa45573ef57858904773d4bcc99dbf553b19 (diff) | |
| download | vyos-1x-2ac530f45d9d5f2ab7bafcc1de65284d8eef85bb.tar.gz vyos-1x-2ac530f45d9d5f2ab7bafcc1de65284d8eef85bb.zip | |
serial: T7484: remove redundant call to "systemctl daemon-reload"
A subsequent call to restart_login_consoles() will always call "systemctl
daemon-reload" and thus we can spare one call.
Diffstat (limited to 'src')
| -rwxr-xr-x | src/conf_mode/system_console.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/conf_mode/system_console.py b/src/conf_mode/system_console.py index 90648e2b8..2f742ee07 100755 --- a/src/conf_mode/system_console.py +++ b/src/conf_mode/system_console.py @@ -119,8 +119,6 @@ def generate(console): def apply(console): # Reset screen blanking call('/usr/bin/setterm -blank 0 -powersave off -powerdown 0 -term linux </dev/tty1 >/dev/tty1 2>&1') - # Reload systemd manager configuration - call('systemctl daemon-reload') # Service control moved to vyos.utils.serial to unify checks and prompts. # If users are connected, we want to show an informational message on completing |
