Re: Sourcing /etc/rc.conf in configs and .install scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, 12 Nov 2013 22:05:12 +0100
Karol Blazewicz <karol.blazewicz@xxxxxxxxx> wrote:

> I noticed a few configs and .install scripts mention /etc/rc.conf
> (mostly it's just '. /etc/rc.conf'), even though initscripts are not
> supported anymore.
> 
> For example locale.sh from filesystem package has
> 
> elif [ -r /etc/rc.conf ]; then
>   LANG=$(. /etc/rc.conf 2>/dev/null; echo "$LOCALE")
> fi
> 
> 
> Should I open a bug report for this?

What are the other packages?

In the particular case of the filesystem package, I think the above
conditional is actually useful. It is never triggered on an initscripts-less
installation, yet it makes the filesystem package workable for people who
prefer legacy initscripts.

Cheers,
-- 
Leonid Isaev
GnuPG key: 0x164B5A6D
Fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux