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

build() {
    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. 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: