For the first time I was asked by a daemon I installed to set a flag in there.

What's it for? Is it a newish concept?

link|improve this question

77% accept rate
feedback

migrated from stackoverflow.com Nov 8 '11 at 0:39

This question came from our site for professional and enthusiast programmers.

2 Answers

up vote 2 down vote accepted

Basically, /etc/default contains some parameters that the end user or administrator is likely to change, rather than embedding the values in the actual boot scripts. In this way, changes will persist even if you upgrade the package and the boot script is replaced. It's a Debian concept and it's adopted only by certain packages.

link|improve this answer
feedback

The files in this dir basically contains configuration parameters. For example, if you have a service at /etc/init.d/test, the script first look at /etc/default/test before starting/stopping the test service, searching for config parameters.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.