summaryrefslogtreecommitdiffstats
path: root/include/pathnames.h
diff options
context:
space:
mode:
authorSami Kerola2015-10-13 12:52:55 +0200
committerSami Kerola2015-10-18 19:03:57 +0200
commit82cac348896156ae081f9e99fafa28f393fa9115 (patch)
tree8613bf039e5b49cda0660c6b2b33f123f671a315 /include/pathnames.h
parentdocs: update ctrlaltdel.8 man page (diff)
downloadkernel-qcow2-util-linux-82cac348896156ae081f9e99fafa28f393fa9115.tar.gz
kernel-qcow2-util-linux-82cac348896156ae081f9e99fafa28f393fa9115.tar.xz
kernel-qcow2-util-linux-82cac348896156ae081f9e99fafa28f393fa9115.zip
ctrlaltdel: display setting when ran without arguments
This is more useful than printing an error. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'include/pathnames.h')
-rw-r--r--include/pathnames.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/pathnames.h b/include/pathnames.h
index e68ac7df2..81efcfa81 100644
--- a/include/pathnames.h
+++ b/include/pathnames.h
@@ -208,5 +208,8 @@
/* logger paths */
#define _PATH_DEVLOG "/dev/log"
+/* ctrlaltdel paths */
+#define _PATH_PROC_CTRL_ALT_DEL "/proc/sys/kernel/ctrl-alt-del"
+
#endif /* PATHNAMES_H */