capsman-download-packages: do not restart service...

... but disconnect old CAPs and force reconnect with update.
This commit is contained in:
Christian Hesse 2018-12-27 21:36:31 +01:00
parent e1f5f7254a
commit 0ecb0749fd

View file

@ -33,6 +33,6 @@
}
}
:if ($updated = true && [ / caps-man manager get enabled ] = true) do={
/ caps-man manager set enabled=yes;
:if ($updated = true) do={
/ caps-man remote-cap remove [ find where version!=$"installed-version" ];
}