FreeBSD Bugzilla – Attachment 89454 Details for
Bug 126392
[patch] rc.conf ifconfig_xx keywords cannot be escaped
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
network.subr.patch
network.subr.patch (text/plain), 1.35 KB, created by
jclonguet
on 2008-08-23 10:02:31 UTC
(
hide
)
Description:
network.subr.patch
Filename:
MIME Type:
Creator:
jclonguet
Created:
2008-08-23 10:02:31 UTC
Size:
1.35 KB
patch
obsolete
>--- /etc/network.subr.ORIG 2008-08-12 22:24:50.000000000 +0200 >+++ /etc/network.subr 2008-08-12 22:24:59.000000000 +0200 >@@ -142,18 +142,26 @@ > return 1 > fi > _args= >+ eoparsing=0 > > for _arg in $_tmpargs; do >- case $_arg in >- [Dd][Hh][Cc][Pp]) ;; >- [Nn][Oo][Aa][Uu][Tt][Oo]) ;; >- [Nn][Oo][Ss][Yy][Nn][Cc][Dd][Hh][Cc][Pp]) ;; >- [Ss][Yy][Nn][Cc][Dd][Hh][Cc][Pp]) ;; >- [Ww][Pp][Aa]) ;; >- *) >+ if [ $eoparsing -eq 0 ]; then >+ case $_arg in >+ [Dd][Hh][Cc][Pp]) ;; >+ [Nn][Oo][Aa][Uu][Tt][Oo]) ;; >+ [Nn][Oo][Ss][Yy][Nn][Cc][Dd][Hh][Cc][Pp]) ;; >+ [Ss][Yy][Nn][Cc][Dd][Hh][Cc][Pp]) ;; >+ [Ww][Pp][Aa]) ;; >+ --) >+ eoparsing=1 >+ ;; >+ *) >+ _args="$_args $_arg" >+ ;; >+ esac >+ else > _args="$_args $_arg" >- ;; >- esac >+ fi > done > > echo $_args >@@ -170,6 +178,9 @@ > [Nn][Oo][Aa][Uu][Tt][Oo]) > return 1 > ;; >+ --) >+ return 0 >+ ;; > esac > done > return 0 >@@ -191,6 +202,9 @@ > [Ss][Yy][Nn][Cc][Dd][Hh][Cc][Pp]) > return 0 > ;; >+ --) >+ return 1 >+ ;; > esac > done > return 1 >@@ -210,6 +224,13 @@ > [Ss][Yy][Nn][Cc][Dd][Hh][Cc][Pp]) > return 0 > ;; >+ --) >+ if checkyesno synchronous_dhclient; then >+ return 0 >+ else >+ return 1 >+ fi >+ ;; > esac > done > if checkyesno synchronous_dhclient; then >@@ -229,6 +250,9 @@ > [Ww][Pp][Aa]) > return 0 > ;; >+ --) >+ return 1 >+ ;; > esac > done > return 1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 126392
: 89454