[arch-projects] [initscripts] [GIT] Arch Linux initscripts repository branch master updated. 2011.06.3-31-g824567c
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Arch Linux initscripts repository". The branch, master has been updated via 824567cb23ed0bab4ed4568be139ee0c75d7598d (commit) via fe48fab2c2c35ccbfa3eec436d40739bc4b486da (commit) from f5d571110b9cfe45ecb32602510c924409e52d63 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 824567cb23ed0bab4ed4568be139ee0c75d7598d Author: Dave Reisner <d@falconindy.com> Date: Sun Jun 19 10:10:45 2011 -0400 network: don't enforce check for netmask or gateway 4cad51425325 removed the necessity for defining gateway, but we still continued to check for it. Remove this check, as well as the check for netmask. When not supplied, netmask will default to /24. Signed-off-by: Dave Reisner <d@falconindy.com> commit fe48fab2c2c35ccbfa3eec436d40739bc4b486da Author: Dave Reisner <d@falconindy.com> Date: Sun Jun 19 09:04:24 2011 -0400 rc.sysinit: avoid use of regex match for USE* vars Although silly, this would positively match something such as USRBTRFS=deadeyes Instead, enumerate the match as a simple glob. Signed-off-by: Dave Reisner <d@falconindy.com> ----------------------------------------------------------------------- Summary of changes: network | 8 +------- rc.conf | 2 +- rc.sysinit | 6 +++--- 3 files changed, 5 insertions(+), 11 deletions(-) hooks/post-receive -- Arch Linux initscripts repository
On Sun, Jun 19, 2011 at 6:59 PM, Tom Gundersen <tomegun@archlinux.org> wrote:
commit fe48fab2c2c35ccbfa3eec436d40739bc4b486da Author: Dave Reisner <d@falconindy.com> Date: Sun Jun 19 09:04:24 2011 -0400
rc.sysinit: avoid use of regex match for USE* vars
Although silly, this would positively match something such as
USRBTRFS=deadeyes
Instead, enumerate the match as a simple glob.
I read some time ago that we could make match without case (on yes|YES). This is not more clean than this glob ? There was a reason for which we do not do that? -- Sébastien Luttringer www.seblu.net
On Sun, Jun 19, 2011 at 07:09:15PM +0200, Seblu wrote:
On Sun, Jun 19, 2011 at 6:59 PM, Tom Gundersen <tomegun@archlinux.org> wrote:
commit fe48fab2c2c35ccbfa3eec436d40739bc4b486da Author: Dave Reisner <d@falconindy.com> Date: Sun Jun 19 09:04:24 2011 -0400
rc.sysinit: avoid use of regex match for USE* vars
Although silly, this would positively match something such as
USRBTRFS=deadeyes
Instead, enumerate the match as a simple glob.
I read some time ago that we could make match without case (on yes|YES). This is not more clean than this glob ? There was a reason for which we do not do that?
-- Sébastien Luttringer www.seblu.net
Yes, you can also use 'shopt -s nocasematch' for this kind of thing, but I was afraid that it might negatively effect other comparisons (including any user hooks). Since there aren't a whole lot of permutations, I thought it simpler to just glob out the possibilities. d
participants (3)
-
Dave Reisner
-
Seblu
-
tomegun@archlinux.org