From 0e315c10bf0439c5f8eb0dcfc9b0637679671511 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 14 Aug 2009 15:03:24 -0400 Subject: Remove unused (and broken) functions. --- sysconfig/network-scripts/init.ipv6-global | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/sysconfig/network-scripts/init.ipv6-global b/sysconfig/network-scripts/init.ipv6-global index c7f19b6b..8f402022 100755 --- a/sysconfig/network-scripts/init.ipv6-global +++ b/sysconfig/network-scripts/init.ipv6-global @@ -158,24 +158,6 @@ case $ACTION in esac ;; - restart|reload) - # do nothing, will be handled by main script - ;; - - showsysctl) - # Run only basic tests, no module is loaded, if not ok, skip IPv6 initialization - ipv6_test testonly || exit 0 - - # Show sysctl switches - 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 - done - ;; - *) echo $"Usage: $0 {start|stop|reload|restart|showsysctl}" exit 1 -- cgit v1.2.1