Author: mzugec Date: Mon Apr 27 10:28:12 2009 New Revision: 56976 URL: http://svn.opensuse.org/viewcvs/yast?rev=56976&view=rev Log: improved "device renaming" functionality (bnc#447480) and (bnc#461179) Modified: branches/tmp/SLE-11-SP1-Stash/network/VERSION branches/tmp/SLE-11-SP1-Stash/network/package/yast2-network.changes branches/tmp/SLE-11-SP1-Stash/network/src/modules/LanItems.ycp Modified: branches/tmp/SLE-11-SP1-Stash/network/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/SLE-11-SP1-Stash/network/VERSION?rev=56976&r1=56975&r2=56976&view=diff ============================================================================== --- branches/tmp/SLE-11-SP1-Stash/network/VERSION (original) +++ branches/tmp/SLE-11-SP1-Stash/network/VERSION Mon Apr 27 10:28:12 2009 @@ -1 +1 @@ -2.17.89 +2.17.90 Modified: branches/tmp/SLE-11-SP1-Stash/network/package/yast2-network.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/SLE-11-SP1-Stash/network/package/yast2-network.changes?rev=56976&r1=56975&r2=56976&view=diff ============================================================================== --- branches/tmp/SLE-11-SP1-Stash/network/package/yast2-network.changes (original) +++ branches/tmp/SLE-11-SP1-Stash/network/package/yast2-network.changes Mon Apr 27 10:28:12 2009 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Mon Apr 27 10:27:22 CEST 2009 - mzugec@suse.cz + +- improved "device renaming" functionality (bnc#447480) and + (bnc#461179) +- 2.17.90 + +------------------------------------------------------------------- Thu Apr 9 14:28:04 CEST 2009 - mzugec@suse.de - fixed netmask/prefixlen validation and correct write (bnc#493222) Modified: branches/tmp/SLE-11-SP1-Stash/network/src/modules/LanItems.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/SLE-11-SP1-Stash/network/src/modules/LanItems.ycp?rev=56976&r1=56975&r2=56976&view=diff ============================================================================== --- branches/tmp/SLE-11-SP1-Stash/network/src/modules/LanItems.ycp (original) +++ branches/tmp/SLE-11-SP1-Stash/network/src/modules/LanItems.ycp Mon Apr 27 10:28:12 2009 @@ -246,9 +246,8 @@ }); SCR::Write(.udev_persistent.rules, net_rules); SCR::Write(.udev_persistent.nil, []); - foreach(string dev, changed_devices, { - y2milestone("renaming devices : %1", SCR::Execute(.target.bash_output, sformat("hwdown %1 && hwup %1", dev))); - }); + y2milestone("Changed devices %1", changed_devices); + if (size(changed_devices)>0) y2milestone("Renaming interfaces %1", SCR::Execute(.target.bash_output, "rcnetwork stop && udevadm trigger --subsystem-match=net && rcnetwork start")); // write rules from driver foreach(string key, string value, (map<string, string>)driver_options, { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org