From: Stefan Schantl Date: Sun, 27 Mar 2011 16:42:05 +0000 (+0200) Subject: systemd: Symlink binary to /sbin/init to use systemd as default init system. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=df73f69fa26fac03125f1542ff33018f81ce8f6f;p=people%2Fms%2Fipfire-3.x.git systemd: Symlink binary to /sbin/init to use systemd as default init system. References #149. --- diff --git a/pkgs/systemd/systemd.nm b/pkgs/systemd/systemd.nm index 2c0b43493..737ef3243 100644 --- a/pkgs/systemd/systemd.nm +++ b/pkgs/systemd/systemd.nm @@ -26,7 +26,7 @@ include $(PKGROOT)/Include PKG_NAME = systemd PKG_VER = 20 -PKG_REL = 6 +PKG_REL = 7 PKG_MAINTAINER = Stefan Schantl PKG_GROUP = System/Base @@ -83,7 +83,7 @@ endef define STAGE_INSTALL_CMDS # Create sysv compatible symlinks. -mkdir -pv $(BUILDROOT)/sbin - #ln -svf ../bin/systemd $(BUILDROOT)/sbin/init + ln -svf ../bin/systemd $(BUILDROOT)/sbin/init ln -svf ../bin/systemctl $(BUILDROOT)/sbin/reboot ln -svf ../bin/systemctl $(BUILDROOT)/sbin/halt ln -svf ../bin/systemctl $(BUILDROOT)/sbin/poweroff