summaryrefslogtreecommitdiffstats
path: root/install/sleep
blob: c2bdcab7c1681d4d64abc848fe67fd2a69f20a6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

build() {
    add_runscript
}

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. If a sleepdevice= parameter is specified, sleep until the
given device node is available, polling at one second intervals until sleeptime
is reached.
HELPEOF
}

# vim: set ft=sh ts=4 sw=4 et: