diff options
Diffstat (limited to 'rules/rc-once.make')
-rw-r--r-- | rules/rc-once.make | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/rules/rc-once.make b/rules/rc-once.make index f01bbe9d8..aaed7443b 100644 --- a/rules/rc-once.make +++ b/rules/rc-once.make @@ -48,9 +48,8 @@ ifdef PTXCONF_INITMETHOD_SYSTEMD @$(call install_alternative, rc-once, 0, 0, 0644, \ /lib/systemd/system/rc-once.service) - @$(call install_alternative, rc-once, 0, 0, 0644, \ - /lib/systemd/system/rc-once.target) - @$(call install_copy, rc-once, 0, 0, 0755, /etc/systemd/system) + @$(call install_link, rc-once, ../rc-once.service, \ + /lib/systemd/system/system-update.target.wants/rc-once.service) endif @$(call install_copy, rc-once, 0, 0, 0755, /etc/rc.once.d) |