mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 22:56:33 +00:00
systemd: add compatibility symlink for 'shutdown'
In addition to the 'halt', 'poweroff', 'reboot' symlinks pointing to systemctl, add 'shutdown'. Signed-off-by: Anssi Hannula <anssi.hannula@bitwise.fi> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
131cf9bf4b
commit
36ed046623
@ -340,6 +340,7 @@ define SYSTEMD_INSTALL_INIT_HOOK
|
|||||||
ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/halt
|
ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/halt
|
||||||
ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/poweroff
|
ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/poweroff
|
||||||
ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/reboot
|
ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/reboot
|
||||||
|
ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/shutdown
|
||||||
ln -fs ../../../lib/systemd/system/multi-user.target \
|
ln -fs ../../../lib/systemd/system/multi-user.target \
|
||||||
$(TARGET_DIR)/etc/systemd/system/default.target
|
$(TARGET_DIR)/etc/systemd/system/default.target
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user