Since interactive commands are by default interruptable, intr is intended for use as a wrapper around commands started by the /etc/rc files; commands spawned from these files are not interruptable by default. It has no other intended use than as a wrapper around /etc/rc commands.
The following signals are ignored as a result of wrapping intr around a command:
The following signals are reset to their default actions:
All of these examples assume that they are in an /etc/rc file, that is, talking to the console, and not run interactively. The following example runs fsck.8 but allow it to be killed from the console:
intr fsck -p -w / /usr
Echoing is provided so that
ypbind; echo -n ' ypbind'
can be replaced with
intr -vn ypbind
Timeouts are provided so that the machine will not hang at boot:
intr -t 10 rdate date_host
The -v option is a kludge.
Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97