2010-06-02 00:53:30 +02:00
|
|
|
# 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
|
2010-07-03 19:53:37 +02:00
|
|
|
DefaultDependencies=no
|
2010-07-10 04:52:31 +02:00
|
|
|
Wants=shutdown.target
|
2010-06-02 00:53:30 +02:00
|
|
|
After=shutdown.target
|
2010-06-02 00:58:10 +02:00
|
|
|
Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount
|
2010-06-02 00:53:30 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=finish
|
|
|
|
ValidNoProcess=yes
|
2010-07-09 11:53:39 +02:00
|
|
|
Environment=INIT_HALT=HALT RUNLEVEL=0 COLD_BOOT=1
|
|
|
|
ExecStart=/etc/init.d/halt
|
2010-07-09 04:37:13 +02:00
|
|
|
StandardInput=tty
|