Cover V12, I01
jan2003.tar

Listing 4 Various section in bootprofile configuration files

.
[chkconfig] ::
Switch OFF/ON services registered under chkconfig. See chkconfig(1) man page for more details.

 Syntax: (One action perl line)
  run_levels    service_name    on/off
 Example:
  2345            ypbind                off

bootprofile will run corresponding command at execution.
  #/sbin/chkconfig --level 2345    ypbind          off
------------------------------------------------------------------------

[files] ::
Copy(Overwrite) critical configuration files for this bootprofile.

 Syntax: (One action per line)
  Source_file(relative to bootprofile directory)    Dest_file(full path)
 Example:
  fstab                   /etc/fstab

bootprofile assumes source file(s) in  /etc/bootprofile/<profilename>/ 
directory. (Example: /etc/bootprofile/homenet/fstab ). This file 
/etc/bootprofile/homenet/fstab is a desired /etc/fstab for bootprofile 
<homenet>. 'bootprofile' will run corresponding command upon execution.
  #/bin/cp /etc/bootprofile/homenet/fstab                  /etc/fstab
------------------------------------------------------------------------

[links] ::
Create Symbolic links (Will delete existing symbolic link if present)

 Syntax: (One Action perl Line)
  target_file/dir(full path)        symbolic_link(full path)
 Example:
  /usr/local.onsite                       /usr/local

bootprofile will run corresponding command upon execution:
  #/bin/rm -f /usr/local
  #/bin/ln -s /usr/local.offsite           /usr/local
------------------------------------------------------------------------

[remove] ::
Remove file/directory.

 Syntax: (One Action perl line)
  file/dir(to be removed)
 Example:
  /etc/rc.d/rc3.d/S98networker

bootprofile will run command upon execution.
  #/bin/rm -f /etc/rc.d/rc3.d/S98networker
------------------------------------------------------------------------

[scripts] ::
Run Userdefined scripts.

 Syntax: (One script path per line)
  script_full_path  (script must reside on root system partition like / (root)
 Example:
 /home/myscript

bootprofile will simply execute above script.
========================================================================