summaryrefslogtreecommitdiff
path: root/units/gentoo
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-14 02:58:37 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-14 02:58:37 +0200
commit46574a5b4afeac0c3f69f15ce47c460309cb9bec (patch)
treeaa197ea69189bf4c689d8a85c4d3949e82f4f5da /units/gentoo
parentd48141ba0bed2866e05261cf06f0a6adfb11f349 (diff)
units: get rid of distro-specific shutdown scripts, replace them by systemd-shutdown invocations
Diffstat (limited to 'units/gentoo')
-rw-r--r--units/gentoo/halt.service19
-rw-r--r--units/gentoo/killall.service18
-rw-r--r--units/gentoo/poweroff.service19
-rw-r--r--units/gentoo/reboot.service18
4 files changed, 0 insertions, 74 deletions
diff --git a/units/gentoo/halt.service b/units/gentoo/halt.service
deleted file mode 100644
index d97b942fe0..0000000000
--- a/units/gentoo/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 RC_DOWN_HARDDISK=yes
-ExecStart=/etc/init.d/shutdown.sh
-StandardOutput=tty
diff --git a/units/gentoo/killall.service b/units/gentoo/killall.service
deleted file mode 100644
index de994d1f03..0000000000
--- a/units/gentoo/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/killprocs start
-StandardOutput=tty
diff --git a/units/gentoo/poweroff.service b/units/gentoo/poweroff.service
deleted file mode 100644
index 2483f9448c..0000000000
--- a/units/gentoo/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=RC_DOWN_HARDDISK=yes
-ExecStart=/etc/init.d/shutdown.sh
-StandardOutput=tty
diff --git a/units/gentoo/reboot.service b/units/gentoo/reboot.service
deleted file mode 100644
index 8f8d7328c7..0000000000
--- a/units/gentoo/reboot.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=Reboot
-DefaultDependencies=no
-Requires=shutdown.target umount.target killall.service
-After=shutdown.target umount.target killall.service
-
-[Service]
-Type=oneshot
-RemainAfterExit=yes
-ExecStart=/etc/init.d/reboot.sh
-StandardOutput=tty