![]() |
![]()
| ![]() |
![]()
NAMErunpause - run a program after a specified delay SYNOPSISrunpause [-hV] [-L label ] secs program [ args ... ] DESCRIPTIONrunpause sleeps for secs (or until interrupted by a signal), and then runs program with any arguments given in args. If secs is 0, runpause will pause forever, or until interrupted by a signal. If program does not contain a ``/'' slash character, runpause will perform a shell-like search for the executable using the PATH variable in the current environment. OPTIONS
EXAMPLESThe runpause utility may be used to hack a perpetrate(5) service out of what would normally be a system initialization: #!/bin/sh exec 2>&1 if test ${1} = 'start' ; then The author does not recommend this sort of thing and will never mention it again. EXIT STATUSrunpause exits with one of the following values:
AUTHORWayne Marshall, http://b0llix.net/perp/ SEE ALSOruntools_intro(8), runargs(8), runargv0(8), runchoom(8), rundetach(8), rundeux(8), runenv(8), runfile(8), runlimit(8), runlock(8), runsession(8), runtool(8), runtrap(8), runuid(8), perpd(8), perpetrate(5)
|