I've assumed /etc/default
was a handy place to save the post-install/default state of configuration files so that when some poor sysadmin arrives at a new system she can quickly determine what has been customised on that instance.
But having just had a look around in there it seems I am mistaken? So apologies if this is a dumb question...
- What's supposed to be in the
/etc/default
directory? - Where would it be appropriate, or is there a convention, for saving the default state of config files?
From a post on a Slackware forum:
In Debian,
/etc/default/
is a directory of mostly empty files. The way it is meant to work is that each/etc/init.d/test
script first sources/etc/default/test
before starting/stopping the test service. The purpose of the file is to provide extra options for starting the service, or override certain aspects of the service's startup.