summaryrefslogtreecommitdiffstats
path: root/install/sleep
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2010-02-22 18:49:02 +0100
committerThomas Bächler <thomas@archlinux.org>2010-02-22 18:49:02 +0100
commitd5625e4bd28a9b3066777c539b05aef3fc551b8f (patch)
tree566bfcb47e7d9bf4a3955df4f4a3fd782b765e83 /install/sleep
parent2f5b51af04f7229da2ff7fc3c07c8d2fe5c3a306 (diff)
downloadmkinitcpio-d5625e4bd28a9b3066777c539b05aef3fc551b8f.tar.gz
mkinitcpio-d5625e4bd28a9b3066777c539b05aef3fc551b8f.tar.xz
Add 'sleep' hook
Diffstat (limited to 'install/sleep')
-rw-r--r--install/sleep19
1 files changed, 19 insertions, 0 deletions
diff --git a/install/sleep b/install/sleep
new file mode 100644
index 0000000..f7f82bd
--- /dev/null
+++ b/install/sleep
@@ -0,0 +1,19 @@
+# vim:set ft=sh:
+
+install ()
+{
+ MODULES=""
+ BINARIES=""
+ FILES=""
+ SCRIPT="sleep"
+}
+
+help ()
+{
+cat <<HELPEOF
+ This hook causes the init process to interrupt
+ for a fixed time interval. The time in seconds
+ can be specified in the sleeptime= command line
+ parameter. The default is 5 seconds.
+HELPEOF
+}