Re: [PATCH] Fancy rc startup style RFC



On 4/18/06, Coleman Kane <zombyfork@xxxxxxxxx> wrote:

On 4/18/06, M. Warner Losh <imp@xxxxxxxxxx> wrote:

In message: <44452532.40703@xxxxxxxxxxxx>
Eric Anderson <anderson@xxxxxxxxxxxx> writes:
: 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.


Also, /bin/sh is used to execute rc NOT /bin/csh. So you are writing in
Bourne shell and not C-Shell.

--
coleman kane




_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: [PATCH] Fancy rc startup style RFC
    ... scripting look similar to other OS's, but without color. ... 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. ... 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 /. ...
    (freebsd-hackers)
  • Re: [PATCH] Fancy rc startup style RFC
    ... :>> The patch shouldn't break anything, and is only enabled if you have this ... :>> This is still a first pass, so please give feedback. ... file systems separate from /. ... /bin and /sbin are available through the entire boot. ...
    (freebsd-hackers)
  • Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin"
    ... After feedback from a number of people, ... option for the various firmwares; there is only one which controls them ... But if I add this patch elsewhere in the kernel, ... latest kernel.org kernels with the same amount of regard. ...
    (Linux-Kernel)
  • Re: [patch] CFS (Completely Fair Scheduler), v2
    ... patchset, against v2.6.21-rc7: ... i'd like to thank everyone for the tremendous amount of feedback and testing the v1 patch got - i could hardly keep up with just reading the mails! ...
    (Linux-Kernel)
  • TEST REQUEST: USB stable MFC.
    ... We have made a patch available of the USB stack in -current, ... I am looking for feedback from USB users as to whether it ... Feedback to this list is probably the best thing so that we can all ...
    (freebsd-stable)