Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2006 14:04:43 -0400
From:      "Coleman Kane" <zombyfork@gmail.com>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        gbergling@0xfce3.net, freebsd-hackers@freebsd.org
Subject:   Re: [PATCH] Fancy rc startup style RFC
Message-ID:  <346a80220604181104y63bee2efi426d0a4755be305c@mail.gmail.com>
In-Reply-To: <346a80220604181102v3597a1edp3e05fa663b87e15c@mail.gmail.com>
References:  <444515C8.3030406@centtech.com> <20060418165709.GA17705@central.0xfce3.net> <44452532.40703@centtech.com> <20060418.114933.69380798.imp@bsdimp.com> <346a80220604181102v3597a1edp3e05fa663b87e15c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/18/06, Coleman Kane <zombyfork@gmail.com> wrote:
>
> On 4/18/06, M. Warner Losh <imp@bsdimp.com> wrote:
>
> > In message: <44452532.40703@centtech.com>
> >             Eric Anderson <anderson@centtech.com> writes:
> > : Gordon Bergling wrote:
> > : > Hi,
> > : >
> > : > * Thus spake Eric Anderson (anderson@centtech.com):
> > : >> 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 hav=
e
> > this
> > : >> in your /etc/rc.conf:
> > : >>
> > : >> rc_fancy=3D"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
>
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?346a80220604181104y63bee2efi426d0a4755be305c>