conf/166484: [rc] [patch] rc.initdiskless patch for different major versions living together
Chris Rees
utisoft at gmail.com
Sun Nov 4 12:30:01 UTC 2012
The following reply was made to PR conf/166484; it has been noted by GNATS.
From: Chris Rees <utisoft at gmail.com>
To: "bug-followup at freebsd.org" <bug-followup at freebsd.org>
Cc:
Subject: Re: conf/166484: [rc] [patch] rc.initdiskless patch for different
major versions living together
Date: Sun, 4 Nov 2012 12:21:22 +0000
I think this is a great idea.
My only concern is the backslashitis in the finding of $rel, and also
the fact that it won't catch 10 properly :)
Instead of:
rel=`expr \`uname -r\` : '\(.\)'`
try:
rel=$(expr `uname -r` : '\([0-9][0-9]*\)')
Does anyone else have any opinions?
Chris
More information about the freebsd-rc
mailing list