tail, tr: not found when booting
Florent Thoumie
flz at FreeBSD.org
Wed Apr 12 19:31:58 UTC 2006
On Wed, 2006-04-12 at 15:20 -0400, Garance A Drosehn wrote:
> > > >
> > > > You can't do anything with /usr this early. This needs
> > > > to be moved to _find_processes() where it's actually used.
> > > > I suspect it should also be converted to pure shell code.
> > > > I think this would work:
> > > >
> > > > for ent in `ps -p $$ -o jid`; do
> >> > JID=$ent
> > > > done
>
> You might want to change this to:
>
> for ent in `ps -p $$ -o jid=`; do
> JID=$ent
> done
>
> (adding '=' on 'jid', to get rid of the column header)
You don't need the loop if you use the '=', as someone told me via
private mail.
--
Florent Thoumie
flz at FreeBSD.org
FreeBSD Committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060412/417e0a4e/attachment.pgp
More information about the freebsd-current
mailing list