From: Lennart Poettering Date: Thu, 20 May 2010 00:05:28 +0000 (+0200) Subject: fedora: we must call the halt script with a symlink of reboot for rebooting X-Git-Tag: 0.git+20100605+dfd8ee-1~11^2^2~46 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1afaf57346eca958ffe9e1617bb875d556f89a01;p=systemd fedora: we must call the halt script with a symlink of reboot for rebooting --- diff --git a/Makefile.am b/Makefile.am index 8b0aecd2..8f0fdaab 100644 --- a/Makefile.am +++ b/Makefile.am @@ -477,6 +477,8 @@ if TARGET_FEDORA ( cd $(DESTDIR)$(systemunitdir) && \ rm -f local.service && \ $(LN_S) rc-local.service local.service ) + ( cd $(DESTDIR)/etc/init.d && \ + $(LN_S) halt reboot > /dev/null 2>&1 || true ) endif DISTCHECK_CONFIGURE_FLAGS = \ diff --git a/units/fedora/reboot.service b/units/fedora/reboot.service index 79c5ef41..20b9e9e5 100644 --- a/units/fedora/reboot.service +++ b/units/fedora/reboot.service @@ -14,4 +14,4 @@ After=shutdown.target killall.service Type=finish ValidNoProcess=yes Environment=RUNLEVEL=6 -ExecStart=@/etc/init.d/halt reboot start +ExecStart=/etc/init.d/reboot start