From 36ed046623129bb879ef50cd40dcc65b27c9da0f Mon Sep 17 00:00:00 2001 From: Anssi Hannula Date: Fri, 13 Apr 2018 15:18:30 +0300 Subject: [PATCH] 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 --- package/systemd/systemd.mk | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2