summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-02-03 21:05:39 +0100
committerChristian Breunig <christian@breunig.cc>2024-02-03 21:05:39 +0100
commit9199c87cf984822e8706f742a60b578682d562ca (patch)
tree0951cee0d35b02c6d1997b7dc041030df56d7fb1
parent84b17f0e666b7fb48e2e9cde12ce2e84b59dd5b2 (diff)
downloadvyos-1x-9199c87cf984822e8706f742a60b578682d562ca.tar.gz
vyos-1x-9199c87cf984822e8706f742a60b578682d562ca.zip
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