summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-02-06 03:09:27 +0000
committerGitHub <noreply@github.com>2024-02-06 03:09:27 +0000
commitf2cefce3714c18def03a52f9d713d2782d8daf2e (patch)
treed77d1efa0147d1b450b2b71c348dc56cd56c96f0
parentcf1a7ee4599cc70117f208618477c2fb0044bde7 (diff)
parent9199c87cf984822e8706f742a60b578682d562ca (diff)
downloadvyos-1x-f2cefce3714c18def03a52f9d713d2782d8daf2e.tar.gz
vyos-1x-f2cefce3714c18def03a52f9d713d2782d8daf2e.zip
Merge pull request #2935 from c-po/rpki
init: T2044: always start/stop rpki during system boot
-rwxr-xr-xsrc/init/vyos-router2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init/vyos-router b/src/init/vyos-router
index aaecbf2a1..ac1cf249e 100755
--- a/src/init/vyos-router
+++ b/src/init/vyos-router
@@ -448,12 +448,14 @@ start ()
restore_if_missing_postconfig_script
run_postconfig_scripts
+ vtysh -c "rpki start"
}
stop()
{
local -i status=0
log_daemon_msg "Stopping VyOS router"
+ vtysh -c "rpki stop"
for ((i=${#sub_inits[@]} - 1; i >= 0; i--)) ; do
s=${subinit[$i]}
log_progress_msg $s