Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 152727 Details for
Bug 217595
sysctl usage
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
diff
diff (text/plain), 1.61 KB, created by
Bill Nottingham
on 2007-04-16 23:37:54 UTC
(
hide
)
Description:
diff
Filename:
MIME Type:
Creator:
Bill Nottingham
Created:
2007-04-16 23:37:54 UTC
Size:
1.61 KB
patch
obsolete
>Index: init.ipv6-global >=================================================================== >RCS file: /usr/local/CVS/initscripts/sysconfig/network-scripts/init.ipv6-global,v >retrieving revision 1.12 >diff -u -r1.12 init.ipv6-global >--- init.ipv6-global 17 Jan 2007 19:41:50 -0000 1.12 >+++ init.ipv6-global 16 Apr 2007 23:32:22 -0000 >@@ -64,7 +64,8 @@ > fi > > # Reset IPv6 sysctl switches for "all", "default" and still existing devices >- sysctl -a | grep "^net\.ipv6\.conf\." | awk -F. '{ print $4 }' | sort -u | while read interface; do >+ for i in /proc/sys/net/ipv6/conf/* ; do >+ interface=${i##*/} > # Host/Router behaviour for the interface > ipv6_exec_sysctl -w net.ipv6.conf.$interface.forwarding=$ipv6_global_forwarding >/dev/null 2>&1 > >@@ -133,7 +134,8 @@ > ipv6_test testonly || exit 0 > > >- sysctl -a | grep "^net\.ipv6\.conf\." | awk -F. '{ print $4 }' | sort -u | while read interface; do >+ for i in /proc/sys/net/ipv6/conf/* ; do >+ interface=${i##*/} > # Assume Host behaviour > ipv6_exec_sysctl -w net.ipv6.conf.$interface.forwarding=0 >/dev/null 2>&1 > >@@ -165,8 +167,9 @@ > ipv6_test testonly || exit 0 > > # Show sysctl switches >- sysctl -a | grep "^net\.ipv6\.conf\.default\." | awk -F. '{ print $5 }' | awk -F= '{ print $1 }' | sed 's/ //g' | while read switch; do >- sysctl -a | grep "^net\.ipv6\.conf\." | awk -F. '{ print $4 }' | sort -u | while read interface; do >+ sysctl net.ipv6.conf.default |awk -F '.' '{ print gensub(" =.*","","G",$5) }' | while read switch; do >+ for i in /proc/sys/net/ipv6/conf/* ; do >+ interface=${i##*/} > sysctl net.ipv6.conf.$interface.$switch > done > echo
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 217595
: 152727