SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My understanding is that this is a Debian concept that has been adopted by a few packages.
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.
The concept is essentially the same as the .conf files under rc.d (rc.inet1.conf, rc.bluetooth.conf, etc), but they are in one centralized location away from the scripts themselves.
The /etc/default directory is used for configuration files by two packages in a vanilla Slackware configuration: cdrtools and getty-ps. To find out what these packages do, have a look at their description from /var/log/packages:
Code:
cdrtools: Tools for mastering and writing compact discs.
cdrtools:
cdrtools: cdda2wav -- CD audio sampling utility.
cdrtools: cdrecord -- burn discs in most ATAPI and SCSI CD-R drives.
cdrtools: mkisofs -- create ISO9660/HFS/Joliet CD-ROM images.
cdrtools: mkzftree -- compress a file tree to make a compressed CD-ROM.
Code:
getty-ps: /sbin/getty and /sbin/uugetty.
getty-ps: These control the process of logging into your system, and may be used
getty-ps: instead of 'agetty', which is the default getty included with the
getty-ps: util-linux package. getty-ps supports a number of enhancements such as
getty-ps: ringback support.
getty-ps:
getty-ps: getty-ps was originally written by Paul Sutcliffe, Jr, and is
getty-ps: currently maintained by Christine Jamison.
If you wonder about which package/program a specific file comes with in the future, you can easily grep for it in /var/log/packages. To answer your question, I typed the following command:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.