Mailinglist Archive: yast-commit (2114 mails)

< Previous Next >
[yast-commit] r58672 - in /trunk/network: VERSION package/yast2-network.changes src/clients/save_network.ycp src/lan/YaPI/NETWORK.pm src/lan/address.ycp src/modules/Lan.ycp src/modules/LanItems.ycp
  • From: mzugec@xxxxxxxxxxxxxxxx
  • Date: Thu, 17 Sep 2009 11:51:28 -0000
  • Message-id: <E1MoFWK-0007ik-HL@xxxxxxxxxxxxxxxx>
Author: mzugec
Date: Thu Sep 17 13:51:28 2009
New Revision: 58672

URL: http://svn.opensuse.org/viewcvs/yast?rev=58672&view=rev
Log:
- replace STARTMODE='onboot' (which is deprecated) with 'auto'
(bnc#533818)


Modified:
trunk/network/VERSION
trunk/network/package/yast2-network.changes
trunk/network/src/clients/save_network.ycp
trunk/network/src/lan/YaPI/NETWORK.pm
trunk/network/src/lan/address.ycp
trunk/network/src/modules/Lan.ycp
trunk/network/src/modules/LanItems.ycp

Modified: trunk/network/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/network/VERSION?rev=58672&r1=58671&r2=58672&view=diff
==============================================================================
--- trunk/network/VERSION (original)
+++ trunk/network/VERSION Thu Sep 17 13:51:28 2009
@@ -1 +1 @@
-2.18.47
+2.18.48

Modified: trunk/network/package/yast2-network.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/network/package/yast2-network.changes?rev=58672&r1=58671&r2=58672&view=diff
==============================================================================
--- trunk/network/package/yast2-network.changes (original)
+++ trunk/network/package/yast2-network.changes Thu Sep 17 13:51:28 2009
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Thu Sep 17 13:37:54 CEST 2009 - mzugec@xxxxxxx
+
+- replace STARTMODE='onboot' (which is deprecated) with 'auto'
+ (bnc#533818)
+- 2.18.48
+
+-------------------------------------------------------------------
Wed Sep 16 14:53:15 CEST 2009 - mzugec@xxxxxxx

- YaPI: write all values (included interfaces)

Modified: trunk/network/src/clients/save_network.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/network/src/clients/save_network.ycp?rev=58672&r1=58671&r2=58672&view=diff
==============================================================================
--- trunk/network/src/clients/save_network.ycp (original)
+++ trunk/network/src/clients/save_network.ycp Thu Sep 17 13:51:28 2009
@@ -279,7 +279,7 @@
}
else
{
- network_configuration = sformat("%1STARTMODE='onboot'\n",
network_configuration);
+ network_configuration = sformat("%1STARTMODE='auto'\n",
network_configuration);
}

// reference to hardware configuration

Modified: trunk/network/src/lan/YaPI/NETWORK.pm
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/network/src/lan/YaPI/NETWORK.pm?rev=58672&r1=58671&r2=58672&view=diff
==============================================================================
--- trunk/network/src/lan/YaPI/NETWORK.pm (original)
+++ trunk/network/src/lan/YaPI/NETWORK.pm Thu Sep 17 13:51:28 2009
@@ -118,7 +118,7 @@
NetworkInterfaces->Read();
NetworkInterfaces->Add() if NetworkInterfaces->Edit($dev) ne 1;
NetworkInterfaces->Name($dev);
- my %config=("STARTMODE" => "onboot",
+ my %config=("STARTMODE" => "auto",
"BOOTPROTO" =>
$args->{'interface'}->{$dev}->{'bootproto'},
"IPADDR" => $args->{'interface'}->{$dev}->{'ipaddr'}
);

Modified: trunk/network/src/lan/address.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/network/src/lan/address.ycp?rev=58672&r1=58671&r2=58672&view=diff
==============================================================================
--- trunk/network/src/lan/address.ycp (original)
+++ trunk/network/src/lan/address.ycp Thu Sep 17 13:51:28 2009
@@ -790,7 +790,7 @@
{
settings = $[
"BOOTPROTO": "static",
- "STARTMODE": "onboot",
+ "STARTMODE": "auto",
"TUNNEL" : LanItems::type,
"TUNNEL_SET_PERSISTENT" : LanItems::tunnel_set_persistent ? "yes" :
"no",
"TUNNEL_SET_OWNER" : LanItems::tunnel_set_owner,

Modified: trunk/network/src/modules/Lan.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/network/src/modules/Lan.ycp?rev=58672&r1=58671&r2=58672&view=diff
==============================================================================
--- trunk/network/src/modules/Lan.ycp (original)
+++ trunk/network/src/modules/Lan.ycp Thu Sep 17 13:51:28 2009
@@ -817,7 +817,7 @@
NetworkInterfaces::Current["BRIDGE_STP"]="off";
NetworkInterfaces::Current["BRIDGE_FORWARDDELAY"]="0";
// hardcode startmode (bnc#450670), it can't be ifplugd!
- NetworkInterfaces::Current["STARTMODE"]="onboot";
+ NetworkInterfaces::Current["STARTMODE"]="auto";
// remove description - will be replaced by new (real) one
NetworkInterfaces::Current=remove(NetworkInterfaces::Current, "NAME");
if( NetworkInterfaces::Commit() ){
@@ -849,7 +849,7 @@
NetworkInterfaces::Current["BRIDGE_STP"]="off";
NetworkInterfaces::Current["BRIDGE_FORWARDDELAY"]="0";
// hardcode startmode (bnc#450670), it can't be ifplugd!
- NetworkInterfaces::Current["STARTMODE"]="onboot";
+ NetworkInterfaces::Current["STARTMODE"]="auto";
// remove description - will be replaced by new (real) one
NetworkInterfaces::Current=remove(NetworkInterfaces::Current, "NAME");
if( NetworkInterfaces::Commit() ){

Modified: trunk/network/src/modules/LanItems.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/network/src/modules/LanItems.ycp?rev=58672&r1=58671&r2=58672&view=diff
==============================================================================
--- trunk/network/src/modules/LanItems.ycp (original)
+++ trunk/network/src/modules/LanItems.ycp Thu Sep 17 13:51:28 2009
@@ -1109,7 +1109,7 @@
if (contains(["tun", "tap"], type)){
newdev=$[
"BOOTPROTO" : "static",
- "STARTMODE" : "onboot",
+ "STARTMODE" : "auto",
"TUNNEL" : type,
"TUNNEL_SET_PERSISTENT" : tunnel_set_persistent ? "yes" : "no",
"TUNNEL_SET_OWNER" : tunnel_set_owner,

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages