Author: mzugec Date: Tue Feb 9 14:58:31 2010 New Revision: 60767 URL: http://svn.opensuse.org/viewcvs/yast?rev=60767&view=rev Log: enable/disable ipv6 on fly Modified: branches/SuSE-Code-11-SP1-Branch/network/src/modules/Lan.ycp Modified: branches/SuSE-Code-11-SP1-Branch/network/src/modules/Lan.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/network/src/modules/Lan.ycp?rev=60767&r1=60766&r2=60767&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/network/src/modules/Lan.ycp (original) +++ branches/SuSE-Code-11-SP1-Branch/network/src/modules/Lan.ycp Tue Feb 9 14:58:31 2010 @@ -389,6 +389,7 @@ }); if (!found) file=add(file, sysctl_row); SCR::Write(.target.string, filename, mergestring(file, "\n")); + SCR::Execute(.target.bash, sformat("sysctl -w net.ipv6.conf.all.disable_ipv6=%1",!ipv6?"1":"0")); SCR::Write(.sysconfig.windowmanager.KDE_USE_IPV6, ipv6?"yes":"no"); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org