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/suse/halt.service | 19 ------------------- units/suse/poweroff.service | 19 ------------------- units/suse/reboot.service | 19 ------------------- 3 files changed, 57 deletions(-) delete mode 100644 units/suse/halt.service delete mode 100644 units/suse/poweroff.service delete mode 100644 units/suse/reboot.service (limited to 'units/suse') diff --git a/units/suse/halt.service b/units/suse/halt.service deleted file mode 100644 index d826ca3e22..0000000000 --- a/units/suse/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 -After=shutdown.target umount.target - -[Service] -Type=oneshot -RemainAfterExit=yes -Environment=INIT_HALT=HALT RUNLEVEL=0 COLD_BOOT=1 -ExecStart=/etc/init.d/halt -StandardOutput=tty diff --git a/units/suse/poweroff.service b/units/suse/poweroff.service deleted file mode 100644 index fe8c67761e..0000000000 --- a/units/suse/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 -After=shutdown.target umount.target - -[Service] -Type=oneshot -RemainAfterExit=yes -Environment=COLD_BOOT=1 -ExecStart=/etc/init.d/halt -StandardOutput=tty diff --git a/units/suse/reboot.service b/units/suse/reboot.service deleted file mode 100644 index 001d1364a0..0000000000 --- a/units/suse/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 -After=shutdown.target umount.target - -[Service] -Type=oneshot -RemainAfterExit=yes -Environment=COLD_BOOT=1 -ExecStart=/etc/init.d/reboot -StandardOutput=tty -- cgit v1.2.3-54-g00ecf