diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-10-14 02:58:37 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-10-14 02:58:37 +0200 |
commit | 46574a5b4afeac0c3f69f15ce47c460309cb9bec (patch) | |
tree | aa197ea69189bf4c689d8a85c4d3949e82f4f5da /units/fedora | |
parent | d48141ba0bed2866e05261cf06f0a6adfb11f349 (diff) |
units: get rid of distro-specific shutdown scripts, replace them by systemd-shutdown invocations
Diffstat (limited to 'units/fedora')
-rw-r--r-- | units/fedora/halt.service | 19 | ||||
-rw-r--r-- | units/fedora/killall.service | 18 | ||||
-rw-r--r-- | units/fedora/poweroff.service | 19 | ||||
-rw-r--r-- | units/fedora/reboot.service | 19 |
4 files changed, 0 insertions, 75 deletions
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 |