diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
commit | fc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch) | |
tree | 326613a08f25851c388715e205576a2e7d25dc4f /sys-apps/sysvinit/files/halt.sh | |
parent | b24bd25253fe093f722ab576d29fdc41d04cb1ee (diff) |
gentoo resync : 18.08.2019
Diffstat (limited to 'sys-apps/sysvinit/files/halt.sh')
-rw-r--r-- | sys-apps/sysvinit/files/halt.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys-apps/sysvinit/files/halt.sh b/sys-apps/sysvinit/files/halt.sh new file mode 100644 index 000000000000..07a32b99574f --- /dev/null +++ b/sys-apps/sysvinit/files/halt.sh @@ -0,0 +1,6 @@ +#!/bin/sh +if [ "$INIT_HALT" = HALT ]; then + exec /sbin/halt -dhn +else + exec /sbin/poweroff -dhn +fi |