Bug#673207: /etc/default/rcS is perhaps a better place for FANCYTTY variable
"Didier 'OdyX' Raboud" <[email protected]>
| Newsgroups | gmane.linux.debian.devel.lsb |
|---|---|
| Organization | Debian, the Universal OS |
| Message-ID | <4FBA4378.9060902__27628.0197933831$1337607208$gmane$org@debian.org> |
Le 21.05.2012 15:07, Roger Leigh a écrit : > On Mon, May 21, 2012 at 02:07:40PM +0200, Didier 'OdyX' Raboud wrote: >> Hmm; now that I think of it, it would be possible to simply have >> /etc/default/rcS ship an empty (or even commented) FANCYTTY= definition >> and let /etc/lsb-base-logging.sh untouched: if an admin added a FANCYTTY >> definition to his /e/lsb-base-logging.sh, then it would simply continue >> to work; if he hasn't too and future users would be pointed at /e/d/rcS. >> Nice. > > Sounds ideal. And by default all values in /e/d/rcS are commented, at > least in current (experimental) versions. > > So as discussed on #debian-devel, I'll do the following in initscripts: > - make /etc/default/rcS a conffile > - add FANCYTTY > - add FANCYTTY to rcS(5) Cool, thanks. > For the latter two, a paragraph describing what the setting does and > what its default value and possible other values are is needed; if > this could be provided, that would be great. Let's try: In Debian, most init.d scripts use the logging functions defined in /lib/lsb/init-functions to provide Policy-compliant status messages. When FANCYTTY is either unset or set to anything in 1|Y|yes|true, then the "Fancy output" (with informational blocks such as [ ok ] on the left of the screen) will be used if the terminal capabilities permit; setting FANCYTTY to 0 will forcibly disable this "Fancy output". ^ How does that sound? Cheers, OdyX
signature.asc
(application/pgp-signature, 663 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) iQGcBAEBAgAGBQJPukN4AAoJEIvPpx7KFjRVMSYL/1/eal6HWZOogd1sTXhu6VR3 TMAzFFt+0AO/RZul6lz8ivaAuRoyAnXaSi7KK+BxCnoq1gvH6qR9oVeIW/Zh/FLc 0y3V0rOkAxWKGv+pZ8OyZho+hRCiM8E/3prdqtK5i+9f61UWdkCyu3pQQMVqr62p lwkIH5tM8fzyDCPCdEaIUATTjWYY+TyXiEnnqupiJX1UYOHF/lCeEDekGxw/1myw sRLmqHxoWHk8TIFQkVtqJeGpswi9sinZrx3IrY6sURWo29dkHAbnP5XO/ngTIeAd N1SUwyY9I65rOKBr6oynf6BDpA4nVgToQlIywR5G/g5iTmgui24sXqEBQEnwCswB b96xoHgMYabCMl9XRjaMhJWG5LJqP5Zyhjy9zvJR7Z7sVDm2jzHfn29KHWhYsZI3 0zRbBaym4SiuGf0zPMJRcPtfrQkQ2tf3/9vMg3BZGF82n0z5QL4KQZeXSBtro4qU TcuvgwaTVisWHUxJlxSExE4UmYyEsjLqTsap+4XfPA== =gc7l -----END PGP SIGNATURE-----