Search
j0ke.net Open Build Service
>
Projects
>
GFS
>
sysconfig
> sysconfig_rename-netiface_no_2digit_confusion.204964.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File sysconfig_rename-netiface_no_2digit_confusion.204964.patch of Package sysconfig (Revision 1)
Currently displaying revision
1
,
show latest
--- scripts/rename_netiface 2006-03-30 13:57:38.000000000 +0000 +++ scripts/rename_netiface 2006-12-10 11:33:50.000000000 +0000 @@ -55,12 +55,12 @@ grep -qs "^[^#].*rename_netiface %k $NEWNAME\"" $RULE_FILE && return 1 cat $USED_IFACE_FILE_STUB* \ | grep -vs "$DEV_ID" \ - | grep -q "^$NEWNAME" && return 1 + | grep -q "^$NEWNAME " && return 1 echo $NEWNAME $DEV_ID >> $USED_IFACE_FILE usleep $((RANDOM%600+700))000 cat $USED_IFACE_FILE_STUB* \ | grep -vs "$DEV_ID" \ - | grep -q "^$NEWNAME" && return 1 + | grep -q "^$NEWNAME " && return 1 return 0 }