itruns man page on Tru64

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
Tru64 logo
[printable version]

itruns(8)							     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  cre‐
       ates, 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-separated
       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 creates, if
       necessary) two separate directories and places a link in each  of  them
       so  that	 either	 state triggers execution of the file independently 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)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Tru64

List of man pages available for Tru64

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net