Mailinglist Archive: yast-commit (711 mails)
| < Previous | Next > |
[yast-commit] r48058 - in /trunk/network: VERSION package/yast2-network.changes src/lan/cmdline.ycp
- From: mzugec@xxxxxxxxxxxxxxxx
- Date: Wed, 04 Jun 2008 10:57:32 -0000
- Message-id: <20080604105733.05D8734FA9@xxxxxxxxxxxxxxxx>
Author: mzugec
Date: Wed Jun 4 12:57:32 2008
New Revision: 48058
URL: http://svn.opensuse.org/viewcvs/yast?rev=48058&view=rev
Log:
fixed command-line (bnc#397016)
Modified:
trunk/network/VERSION
trunk/network/package/yast2-network.changes
trunk/network/src/lan/cmdline.ycp
Modified: trunk/network/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/network/VERSION?rev=48058&r1=48057&r2=48058&view=diff
==============================================================================
--- trunk/network/VERSION (original)
+++ trunk/network/VERSION Wed Jun 4 12:57:32 2008
@@ -1 +1 @@
-2.16.47
+2.16.48
Modified: trunk/network/package/yast2-network.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/network/package/yast2-network.changes?rev=48058&r1=48057&r2=48058&view=diff
==============================================================================
--- trunk/network/package/yast2-network.changes (original)
+++ trunk/network/package/yast2-network.changes Wed Jun 4 12:57:32 2008
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Wed Jun 4 12:53:11 CEST 2008 - mzugec@xxxxxxx
+
+- fixed command-line (bnc#397016)
+- 2.16.48
+
+-------------------------------------------------------------------
Mon Jun 2 16:19:15 CEST 2008 - mzugec@xxxxxxx
- removed html tags in progress bar (bnc#393966)
Modified: trunk/network/src/lan/cmdline.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/network/src/lan/cmdline.ycp?rev=48058&r1=48057&r2=48058&view=diff
==============================================================================
--- trunk/network/src/lan/cmdline.ycp (original)
+++ trunk/network/src/lan/cmdline.ycp Wed Jun 4 12:57:32 2008
@@ -181,10 +181,11 @@
LanItems::current = getItem(options, config);
LanItems::SetItem();
- if (!(size(LanItems::getCurrentItem()["ifcfg"]:"")>0)){
+ if (size(LanItems::getCurrentItem()["ifcfg"]:"")==0){
NetworkInterfaces::Add();
LanItems::operation = `edit;
LanItems::interfacename=LanItems::getCurrentItem()["hwinfo", "dev_name"]:"";
+ LanItems::Items[LanItems::current, "ifcfg"] = LanItems::interfacename;
}
/*
@@ -216,6 +217,7 @@
}
}
*/
+if (contains(Map::Keys(options), "ip")) options["bootproto"] = "static";
LanItems::bootproto = options["bootproto"]:"none";
if (!contains(["none", "static", "dhcp"], LanItems::bootproto)){
@@ -224,7 +226,7 @@
}
if (LanItems::bootproto=="static"){
LanItems::ipaddr = options["ip"]:"";
- LanItems::netmask = options["netmask"]:"";
+ LanItems::netmask = options["netmask"]:"255.255.255.0";
} else{
LanItems::ipaddr = "";
LanItems::netmask = "";
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
Date: Wed Jun 4 12:57:32 2008
New Revision: 48058
URL: http://svn.opensuse.org/viewcvs/yast?rev=48058&view=rev
Log:
fixed command-line (bnc#397016)
Modified:
trunk/network/VERSION
trunk/network/package/yast2-network.changes
trunk/network/src/lan/cmdline.ycp
Modified: trunk/network/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/network/VERSION?rev=48058&r1=48057&r2=48058&view=diff
==============================================================================
--- trunk/network/VERSION (original)
+++ trunk/network/VERSION Wed Jun 4 12:57:32 2008
@@ -1 +1 @@
-2.16.47
+2.16.48
Modified: trunk/network/package/yast2-network.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/network/package/yast2-network.changes?rev=48058&r1=48057&r2=48058&view=diff
==============================================================================
--- trunk/network/package/yast2-network.changes (original)
+++ trunk/network/package/yast2-network.changes Wed Jun 4 12:57:32 2008
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Wed Jun 4 12:53:11 CEST 2008 - mzugec@xxxxxxx
+
+- fixed command-line (bnc#397016)
+- 2.16.48
+
+-------------------------------------------------------------------
Mon Jun 2 16:19:15 CEST 2008 - mzugec@xxxxxxx
- removed html tags in progress bar (bnc#393966)
Modified: trunk/network/src/lan/cmdline.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/network/src/lan/cmdline.ycp?rev=48058&r1=48057&r2=48058&view=diff
==============================================================================
--- trunk/network/src/lan/cmdline.ycp (original)
+++ trunk/network/src/lan/cmdline.ycp Wed Jun 4 12:57:32 2008
@@ -181,10 +181,11 @@
LanItems::current = getItem(options, config);
LanItems::SetItem();
- if (!(size(LanItems::getCurrentItem()["ifcfg"]:"")>0)){
+ if (size(LanItems::getCurrentItem()["ifcfg"]:"")==0){
NetworkInterfaces::Add();
LanItems::operation = `edit;
LanItems::interfacename=LanItems::getCurrentItem()["hwinfo", "dev_name"]:"";
+ LanItems::Items[LanItems::current, "ifcfg"] = LanItems::interfacename;
}
/*
@@ -216,6 +217,7 @@
}
}
*/
+if (contains(Map::Keys(options), "ip")) options["bootproto"] = "static";
LanItems::bootproto = options["bootproto"]:"none";
if (!contains(["none", "static", "dhcp"], LanItems::bootproto)){
@@ -224,7 +226,7 @@
}
if (LanItems::bootproto=="static"){
LanItems::ipaddr = options["ip"]:"";
- LanItems::netmask = options["netmask"]:"";
+ LanItems::netmask = options["netmask"]:"255.255.255.0";
} else{
LanItems::ipaddr = "";
LanItems::netmask = "";
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
| < Previous | Next > |