Changeset 1929 for trunk/packages/invirt-base/files/lib/init
- Timestamp:
- Dec 28, 2008, 2:56:22 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-base/files/lib/init/config-init.sh
r1928 r1929 1 1 # For a package which only configures another, "parent" package. 2 2 # 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" 5 9 # 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 7 13 # 8 # If BASH_VERSION is null or unset, accepts only one parent in9 # 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. 10 16 11 17 . /lib/init/vars.sh
Note: See TracChangeset
for help on using the changeset viewer.