summaryrefslogtreecommitdiffstats
path: root/include/pathnames.h
diff options
context:
space:
mode:
authorKarel Zak2009-08-18 15:48:34 +0200
committerKarel Zak2009-09-07 12:04:26 +0200
commit77f5744c982cd57b1bf1181f8f37023512236902 (patch)
tree391e615804c7696d868180e4b3df0b1474e95459 /include/pathnames.h
parentmkswap: fix memory leaks, cleanup check_blocks() (diff)
downloadkernel-qcow2-util-linux-77f5744c982cd57b1bf1181f8f37023512236902.tar.gz
kernel-qcow2-util-linux-77f5744c982cd57b1bf1181f8f37023512236902.tar.xz
kernel-qcow2-util-linux-77f5744c982cd57b1bf1181f8f37023512236902.zip
rtcwake: add S5 support
Based on patch from Piergiorgio Sartor <piergiorgio.sartor@nexgo.de> at https://bugzilla.redhat.com/show_bug.cgi?id=449115 Piergiorgio's note about S5: > According to the ACPI specifications, chapter 4.7.2.4 "Real Time > Clock Alarm", the wakeup from RTC, when supported, should work from > *sleep* state S1-S3 and, optionally, from S4. > > Note 3 (same chapter) says that S5 is *not* a sleep state and should > not be supported. Actually it also says that: "The OS will disable > the RTC_EN bit prior to entering the G2/S5 or G3 states regardless." > > Nevertheless, on all PC supporting the RTC wakeup I tested, all were > able to wake from S5. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/pathnames.h')
-rw-r--r--include/pathnames.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pathnames.h b/include/pathnames.h
index ead448e37..f958a13bc 100644
--- a/include/pathnames.h
+++ b/include/pathnames.h
@@ -34,6 +34,7 @@
#define _PATH_INITTAB "/etc/inittab"
#define _PATH_RC "/etc/rc"
#define _PATH_REBOOT "/sbin/reboot"
+#define _PATH_SHUTDOWN "/sbin/shutdown"
#define _PATH_SINGLE "/etc/singleboot"
#define _PATH_SHUTDOWN_CONF "/etc/shutdown.conf"