From 46574a5b4afeac0c3f69f15ce47c460309cb9bec Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 14 Oct 2010 02:58:37 +0200 Subject: units: get rid of distro-specific shutdown scripts, replace them by systemd-shutdown invocations --- units/fedora/halt.service | 19 ------------------- units/fedora/killall.service | 18 ------------------ units/fedora/poweroff.service | 19 ------------------- units/fedora/reboot.service | 19 ------------------- 4 files changed, 75 deletions(-) delete mode 100644 units/fedora/halt.service delete mode 100644 units/fedora/killall.service delete mode 100644 units/fedora/poweroff.service delete mode 100644 units/fedora/reboot.service (limited to 'units/fedora') diff --git a/units/fedora/halt.service b/units/fedora/halt.service deleted file mode 100644 index c337dce6d9..0000000000 --- a/units/fedora/halt.service +++ /dev/null @@ -1,19 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. - -[Unit] -Description=Halt -DefaultDependencies=no -Requires=shutdown.target umount.target killall.service -After=shutdown.target umount.target killall.service - -[Service] -Type=oneshot -RemainAfterExit=yes -Environment=INIT_HALT=HALT RUNLEVEL=0 -ExecStart=/etc/init.d/halt start -StandardOutput=tty diff --git a/units/fedora/killall.service b/units/fedora/killall.service deleted file mode 100644 index b81b6a83d1..0000000000 --- a/units/fedora/killall.service +++ /dev/null @@ -1,18 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. - -[Unit] -Description=Kill All Processes -DefaultDependencies=no -After=shutdown.target -RefuseManualStart=yes - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=-/etc/init.d/killall start -StandardOutput=tty diff --git a/units/fedora/poweroff.service b/units/fedora/poweroff.service deleted file mode 100644 index dbbed75d6d..0000000000 --- a/units/fedora/poweroff.service +++ /dev/null @@ -1,19 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. - -[Unit] -Description=Power-Off -DefaultDependencies=no -Requires=shutdown.target umount.target killall.service -After=shutdown.target umount.target killall.service - -[Service] -Type=oneshot -RemainAfterExit=yes -Environment=RUNLEVEL=0 -ExecStart=/etc/init.d/halt start -StandardOutput=tty diff --git a/units/fedora/reboot.service b/units/fedora/reboot.service deleted file mode 100644 index ca8b3b182a..0000000000 --- a/units/fedora/reboot.service +++ /dev/null @@ -1,19 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. - -[Unit] -Description=Reboot -DefaultDependencies=no -Requires=shutdown.target umount.target killall.service -After=shutdown.target umount.target killall.service - -[Service] -Type=oneshot -RemainAfterExit=yes -Environment=RUNLEVEL=6 -ExecStart=/etc/init.d/reboot start -StandardOutput=tty -- cgit v1.2.3-54-g00ecf