Author: mzugec Date: Mon Feb 16 13:12:59 2009 New Revision: 55530 URL: http://svn.opensuse.org/viewcvs/yast?rev=55530&view=rev Log: warn user when device to delete has STARTMODE=nfsroot (bnc#433867) Modified: trunk/network/VERSION trunk/network/package/yast2-network.changes trunk/network/src/lan/complex.ycp Modified: trunk/network/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/VERSION?rev=55530&r1=55529&r2=55530&view=diff ============================================================================== --- trunk/network/VERSION (original) +++ trunk/network/VERSION Mon Feb 16 13:12:59 2009 @@ -1 +1 @@ -2.18.4 +2.18.5 Modified: trunk/network/package/yast2-network.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/package/yast2-network.changes?rev=55530&r1=55529&r2=55530&view=diff ============================================================================== --- trunk/network/package/yast2-network.changes (original) +++ trunk/network/package/yast2-network.changes Mon Feb 16 13:12:59 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Feb 16 13:12:02 CET 2009 - mzugec@suse.cz + +- warn user when device to delete has STARTMODE=nfsroot (bnc#433867) +- 2.18.5 + +------------------------------------------------------------------- Fri Feb 13 13:49:19 CET 2009 - mzugec@suse.cz - don't propose wlan during installation (bnc#462631) Modified: trunk/network/src/lan/complex.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/src/lan/complex.ycp?rev=55530&r1=55529&r2=55530&view=diff ============================================================================== --- trunk/network/src/lan/complex.ycp (original) +++ trunk/network/src/lan/complex.ycp Mon Feb 16 13:12:59 2009 @@ -322,6 +322,11 @@ if(LanItems::InterfaceHasAliases() && Popup::YesNoHeadline(Label::WarningMsg(), pop) != true) break; + // warn user when device to delete has STARTMODE=nfsroot (bnc#433867) + if(NetworkInterfaces::GetValue(LanItems::getCurrentItem()["ifcfg"]:"", "STARTMODE")=="nfsroot"){ + if(!Popup::YesNoHeadline(Label::WarningMsg(), _("Device you select has STARTMODE=nfsroot. Really delete?"))) break; + } + LanItems::DeleteItem(); initOverview(""); break; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org