Unix and Linux Discussions Tagged with run |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
32 |
283,177 |
Shell Programming and Scripting |
|
|
|
2 |
3,733 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
5,056 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
5,587 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
4,058 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
3,203 |
Shell Programming and Scripting |
|
|
|
6 |
2,889 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
3,497 |
Shell Programming and Scripting |
|
|
|
2 |
5,800 |
UNIX for Beginners Questions & Answers |
|
|
|
10 |
3,635 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
3,531 |
Shell Programming and Scripting |
|
|
|
5 |
3,758 |
Shell Programming and Scripting |
|
|
|
1 |
5,038 |
Solaris |
|
|
|
14 |
5,144 |
Shell Programming and Scripting |
|
|
|
0 |
4,760 |
Shell Programming and Scripting |
|
|
|
4 |
4,329 |
Shell Programming and Scripting |
|
|
|
4 |
3,944 |
Shell Programming and Scripting |
|
|
|
5 |
3,653 |
Shell Programming and Scripting |
|
|
|
3 |
2,313 |
Shell Programming and Scripting |
|
|
|
5 |
7,043 |
Shell Programming and Scripting |
|
|
|
0 |
3,852 |
Shell Programming and Scripting |
|
|
|
0 |
1,984 |
UNIX and Linux RSS News |
|
|
|
2 |
8,756 |
Shell Programming and Scripting |
|
|
|
4 |
36,560 |
Shell Programming and Scripting |
|
|
|
1 |
4,146 |
Programming |
|
|
|
0 |
1,739 |
Software Releases - RSS News |
|
|
|
3 |
4,843 |
HP-UX |
|
|
|
0 |
1,995 |
Solaris BigAdmin RSS |
|
|
|
13 |
8,354 |
UNIX for Advanced & Expert Users |
|
|
|
12 |
13,093 |
Programming |
|
|
|
2 |
13,054 |
Solaris |
|
|
|
4 |
4,442 |
HP-UX |
|
|
|
0 |
3,155 |
UNIX for Advanced & Expert Users |
|
|
|
15 |
45,521 |
IP Networking |
|
|
|
2 |
6,981 |
Programming |
|
|
|
10 |
6,417 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
5,504 |
Solaris |
|
|
|
1 |
4,443 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
2,680 |
Security Advisories (RSS) |
|
|
|
2 |
5,726 |
Cybersecurity |
itruns(8) System Manager's Manual itruns(8)
NAME
itruns - set up files for use by the it command
SYNOPSIS
/sbin/itruns file [file...] in run-state [, file [file...] in run-state] [,...]
DESCRIPTION
The itruns program sets up scripts to be run by it(8). (These programs are typically used within system configuration and installation
scripts.) The itruns command searches for /sbin/it.d/bin/file. If itruns finds the file, it creates one or more symbolic links from
/sbin/it.d/run-state.d/file to /sbin/it.d/bin/file.
The run-state argument can be a single run state, or it can be two run states separated by either the word or or the word and. If two run
states are specified with the or keyword, itruns checks for (and creates, if necessary) a directory whose name combines both run states and
places a link in that directory so that the file will be executed when the it program detects either state. You can collapse two or-sepa-
rated states into a single expression; for example, 2 or 3 can be expressed as 23. If the and keyword is used, itruns checks for (and cre-
ates, if necessary) two separate directories and places a link in each of them so that either state triggers execution of the file indepen-
dently of the other state.
If two or more files are specified for a single run-state argument, links are created for all of the files as indicated by the run-state
argument.
If two or more combinations of files and run states are specified as comma-separated expressions, itruns treats each combination individu-
ally.
RESTRICTIONS
The itruns command must be executed from the root directory (/). The command finds only files that are located in the /sbin/it.d/bin direc-
tory.
EXAMPLES
This example sets up the doconfig script to be run when the system is booted to run state 2: itruns doconfig in 2 Either of the command
lines in this example sets up the doconfig and getdate scripts to be run when the system is booted to run state 2 or to run state 3: itruns
doconfig getdate in 2 or 3 itruns doconfig getdate in 23 This example sets up the doconfig script to be run when the system is booted to
run state 2 and again when the system comes to run state 3, the getdate script to be run only in run state 2, and the getsysname script to
be run only in run state 3: itruns doconfig in 2 and 3, getdate in 2, getsysname in 3
SEE ALSO
Commands: it(8)
itruns(8)