Hello,

2014-03-18 22:17 GMT+01:00 Ralf Friedl <[email protected]>:
>> > Usually scripts in/etc/init.d use /etc/default/* as config values
>>
>> > (some distros, even using them as main config files). The scripts that
>> > Laszlo posted fit that pattern.
>> Not quite; actually "/etc/default" is more like a Debian, et al,
>> pattern. OpenWrt will use something. Yocto uses something else, etc.
>> And for what it is worth, buildroot is also strange with
>> "/etc/default/ntpd" without any busybox indication.
>
> Which again shows that distributions are different, so which distibution
> style should Busybox pick? It is up to the distribution to provide the right
> information to the program.

Just to note, OpenSUSE also uses /etc/default, and not only for
daemons (e.g. in my computer are grub, nss, splashy, su and useradd
config files in there). I'm not saying it is the best place for config
files, but I usually use it (not in buildroot) to store similar config
files loaded from init scripts.

Cheers,
Xabier Oneca_,,_
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to