Re: [PATCH] Fancy rc startup style RFC
- From: Eric Anderson <anderson@xxxxxxxxxxxx>
- Date: Tue, 18 Apr 2006 12:43:14 -0500
Gordon Bergling wrote:
Hi,
* Thus spake Eric Anderson (anderson@xxxxxxxxxxxx):I've made a patch to /etc/rc.subr that makes the startup/shutdown rc scripting look similar to other OS's (many different linux distros, HP-UX, etc), but without color.
The patch shouldn't break anything, and is only enabled if you have this in your /etc/rc.conf:
rc_fancy="YES"
Several of the /etc/rc.d/* scripts send output to stdout, so that could be cleaned up a bit if needed, but for now I tried to keep the patch as minimal as possible.
This is still a first pass, so please give feedback.
A short try on my notebook shows some errors.
I don't want to let this email getting too big, so I put the "dmesg -a"
output online. http://generic.0xfce3.net/dmesg-fancy.txt
BTW, the patch applied cleanly.
Thanks for the feedback! Looks like I made an erroneous assumption that the wc, expr, and printf tools found in /usr/bin and /bin would be available through boot, but that isn't the case on systems with those file systems separate from /. I'm not sure how to resolve some of these issues, since I don't know of a way to do those functions in csh without them. I'm open to suggestions here from anyone.
Eric
--
------------------------------------------------------------------------
Eric Anderson Sr. Systems Administrator Centaur Technology
Anything that works is better than anything that doesn't.
------------------------------------------------------------------------
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: [PATCH] Fancy rc startup style RFC
- From: M. Warner Losh
- Re: [PATCH] Fancy rc startup style RFC
- References:
- [PATCH] Fancy rc startup style RFC
- From: Eric Anderson
- Re: [PATCH] Fancy rc startup style RFC
- From: Gordon Bergling
- [PATCH] Fancy rc startup style RFC
- Prev by Date: Re: [PATCH] Fancy rc startup style RFC
- Next by Date: Re: [PATCH] Fancy rc startup style RFC
- Previous by thread: Re: [PATCH] Fancy rc startup style RFC
- Next by thread: Re: [PATCH] Fancy rc startup style RFC
- Index(es):
Relevant Pages
- Re: [PATCH] Fancy rc startup style RFC
... :>> scripting look similar to other OS's (many different linux distros, ...
:>> The patch shouldn't break anything, and is only enabled if you have ... :>>
This is still a first pass, so please give feedback. ... file systems separate from
/. ... (freebsd-hackers) - Re: SMS Installer Open File Security Warning
... > I'm having no luck at all. ... > patch files have it and some
don't. ... so I use the scripting to determine which patch to ... (microsoft.public.sms.installer) - Re: Push SASSER patch to 85 workstations?
... What I really need is to get around the 'admin' ... permissions issue on installing
the patch. ... >torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
(microsoft.public.win2000.general) - Re: SMS Installer Open File Security Warning
... > I've been doing this procedure for every patch I've been downloading form ...
>> I'm simply doing an execute program script item on just the patch ... I'm using
SMS Installer scripting to ... I also make sure to launch the ... (microsoft.public.sms.installer) - Re: Hotfix KB824141
... >> Buffer Overrun in the ListBox and in the ComboBox Control Could ...
>> this security patch. ... > I forgot to tell that $NTUninstallKB824141$ is a
hidden folder, ... > torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
... (microsoft.public.security)