diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-02-07 22:59:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-07 22:59:32 +0200 |
commit | 0df49aa5ea0a052c2e33aa0f8e88564868b94946 (patch) | |
tree | 729dd884b6168d16ddd0bba2e98cfb7752834e94 /src/init | |
parent | 23b4b7fbe863a83aaa950381ec7930016a741e76 (diff) | |
parent | f7a83728d4179ae5eedf0a109bc37733b79c82b4 (diff) | |
download | vyos-1x-0df49aa5ea0a052c2e33aa0f8e88564868b94946.tar.gz vyos-1x-0df49aa5ea0a052c2e33aa0f8e88564868b94946.zip |
Merge pull request #2962 from vyos/mergify/bp/sagitta/pr-2959
init: T2044: only start rpki if cache is configured (backport #2959)
Diffstat (limited to 'src/init')
-rwxr-xr-x | src/init/vyos-router | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/init/vyos-router b/src/init/vyos-router index aaecbf2a1..2b4fac5ef 100755 --- a/src/init/vyos-router +++ b/src/init/vyos-router @@ -448,6 +448,10 @@ start () restore_if_missing_postconfig_script run_postconfig_scripts + tmp=$(${vyos_libexec_dir}/read-saved-value.py --path "protocols rpki cache") + if [ ! -z $tmp ]; then + vtysh -c "rpki start" + fi } stop() |