From: Anssi Hannula Date: Fri, 13 Apr 2018 12:18:30 +0000 (+0300) Subject: systemd: add compatibility symlink for 'shutdown' X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=36ed046623129bb879ef50cd40dcc65b27c9da0f;p=buildroot.git systemd: add compatibility symlink for 'shutdown' In addition to the 'halt', 'poweroff', 'reboot' symlinks pointing to systemctl, add 'shutdown'. Signed-off-by: Anssi Hannula Acked-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 76b7e8382f..db7fb43636 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -340,6 +340,7 @@ define SYSTEMD_INSTALL_INIT_HOOK ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/halt ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/poweroff ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/reboot + ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/shutdown ln -fs ../../../lib/systemd/system/multi-user.target \ $(TARGET_DIR)/etc/systemd/system/default.target endef