diff options
| author | John Estabrook <jestabro@vyos.io> | 2026-02-10 11:48:09 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-10 11:48:09 -0600 |
| commit | 4824a493701180b2d9eb37bce6420cf5ccf602c8 (patch) | |
| tree | 009c8b124bc3851917341098a67edb4ecab3c229 /src/system | |
| parent | d9aa7405a3e0259370b86caa7ea704f0022faf32 (diff) | |
| parent | 8262f78e0013291f747203e0b3768bb412bf1aed (diff) | |
| download | vyos-1x-4824a493701180b2d9eb37bce6420cf5ccf602c8.tar.gz vyos-1x-4824a493701180b2d9eb37bce6420cf5ccf602c8.zip | |
Merge pull request #4980 from alexandr-san4ez/T7945-current
update-check: T7945: Improve reliability during early boot and error handling
Diffstat (limited to 'src/system')
| -rwxr-xr-x | src/system/vyos-system-update-check.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system/vyos-system-update-check.py b/src/system/vyos-system-update-check.py index 66a8b0d02..b7d1fc7c5 100755 --- a/src/system/vyos-system-update-check.py +++ b/src/system/vyos-system-update-check.py @@ -60,7 +60,7 @@ if __name__ == '__main__': remote_version = jmespath.search('[0].version', remote_data) if local_version != remote_version and remote_version: call(f'wall -n "Update available: {remote_version} \nUpdate URL: {url}"') - # MOTD used in /run/motd.d/10-update + # MOTD used in /run/motd.d/10-vyos-update motd_file.parent.mkdir(exist_ok=True) motd_file.write_text(f'---\n' f'Current version: {local_version}\n' |
