This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

The purpose of /etc/default ?


The package contributors guide 

    http://cygwin.com/setup.html

Is silent about /etc/defaults. In Debian this directory has specific
meaning:

    http://www.debian.org/doc/debian-policy/ch-opersys.html

    9.3 System run levels and init.d scripts
    9.3.2 Writing the scripts

    Often there are some variables in the init.d scripts whose values
    control the behaviour of the scripts, and which a system
    administrator is likely to want to change. As the scripts
    themselves are frequently conffiles, modifying them requires that
    the administrator merge in their changes each time the package is
    upgraded and the conffile changes. To ease the burden on the
    system administrator, such configurable values should not be
    placed directly in the script. Instead, they should be placed in a
>>  file in /etc/default, which typically will have the same base name
    as the init.d script. This extra file should be sourced by the
    script when the script runs.

What does /etc/defaults mean under Cygwin? This should be documented
in the package contributors guide as well.

Jari


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]