diff options
author | Bill Nottingham <notting@redhat.com> | 2005-01-12 16:40:40 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2005-01-12 16:40:40 +0000 |
commit | e471b451ca68a21441da3eea35919b4b7c627b6e (patch) | |
tree | b1c56fca9c543f5407219a8ad29ebe64db6ea62b /sysconfig/network-scripts/init.ipv6-global | |
parent | 6206c0832810488618f74482773068c0ccf45f77 (diff) | |
download | initscripts-e471b451ca68a21441da3eea35919b4b7c627b6e.tar initscripts-e471b451ca68a21441da3eea35919b4b7c627b6e.tar.gz initscripts-e471b451ca68a21441da3eea35919b4b7c627b6e.tar.bz2 initscripts-e471b451ca68a21441da3eea35919b4b7c627b6e.tar.xz initscripts-e471b451ca68a21441da3eea35919b4b7c627b6e.zip |
clean up whitespace <pb@bieringer.de>
Diffstat (limited to 'sysconfig/network-scripts/init.ipv6-global')
-rwxr-xr-x | sysconfig/network-scripts/init.ipv6-global | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sysconfig/network-scripts/init.ipv6-global b/sysconfig/network-scripts/init.ipv6-global index 4047c986..48187fc5 100755 --- a/sysconfig/network-scripts/init.ipv6-global +++ b/sysconfig/network-scripts/init.ipv6-global @@ -31,10 +31,10 @@ -. /etc/sysconfig/network +. /etc/sysconfig/network cd /etc/sysconfig/network-scripts -. network-functions +. network-functions # Get action and hook position ACTION="$1" @@ -49,7 +49,7 @@ POSITION="$2" # Initialize IPv6, depending on caller option case $ACTION in start) - case $POSITION in + case $POSITION in pre) # IPv6 test, module loaded, exit if system is not IPv6-ready ipv6_test || exit 1 @@ -124,7 +124,7 @@ case $ACTION in ;; stop) - case $POSITION in + case $POSITION in pre) # IPv6 test, no module loaded, exit if system is not IPv6-ready ipv6_test testonly || exit 0 @@ -168,7 +168,7 @@ case $ACTION in # Run only basic tests, no module is loaded, if not ok, skip IPv6 initialization ipv6_test testonly || exit 0 - # Show sysctl switches + # 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.$interface.$switch |