Changeset 1929 for trunk


Ignore:
Timestamp:
Dec 28, 2008, 2:56:22 AM (16 years ago)
Author:
price
Message:

document config-init.sh better

Location:
trunk/packages/invirt-base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-base/debian/changelog

    r1928 r1929  
    22
    33  * run_parts_list: fix unclear docstring
    4   * config-init.sh: degrade to non-bash gracefully
    5 
    6  -- Greg Price <price@mit.edu>  Sun, 28 Dec 2008 01:00:07 -0500
     4  * config-init.sh: degrade to non-bash gracefully, document better
     5
     6 -- Greg Price <price@mit.edu>  Sun, 28 Dec 2008 02:46:33 -0500
    77
    88invirt-base (0.0.17) unstable; urgency=low
  • trunk/packages/invirt-base/files/lib/init/config-init.sh

    r1928 r1929  
    11# For a package which only configures another, "parent" package.
    22#
    3 # Global variable PARENTPACKAGE names parent; unset for no parent,
    4 # array for (zero or one or) many parents.
     3# Usage:
     4#   PACKAGE=short-name
     5#   GEN_FILES=(files to generate)
     6#   PARENTPACKAGE=(parent-package another-parent-package)
     7#   . /lib/init/config-init.sh
     8#   config_init "$1"
    59#
    6 # Global variable PACKAGE names this package, for log message.
     10# PACKAGE       - name to appear in log message
     11# GEN_FILES     - files to be generated with gen-files.sh
     12# PARENTPACKAGE - packages to receive start, etc, commands passed through
    713#
    8 # If BASH_VERSION is null or unset, accepts only one parent in
    9 # PARENTPACKAGE, or empty for zero.
     14# Global variables GEN_FILES, PARENTPACKAGE may be unset for zero
     15# values, or scalars for one.  If run under sh, they cannot be arrays.
    1016
    1117. /lib/init/vars.sh
Note: See TracChangeset for help on using the changeset viewer.