mirror of https://github.com/sipwise/ngcpcfg.git
Before running «systemctl preset-all» we remove all .wants dependency
directories, because otherwise the preset-all command leaves obsolete
files behind. But «systemctl preset-all» fails if there's any broken
service symlink around, which means we end up with no dependency
information whatsoever implying a severely broken system, that in
addition is then unbootable.
Remove any such broken symlinks before calling «systemctl preset-all».
Change-Id: I58fe650cb04ddb140922563169a7fedb09a8ceac
(cherry picked from commit a09d8f42e2)
mr13.2
parent
2a58eb8640
commit
29a63ee8aa
Loading…
Reference in new issue