Skip to content

Commit

Permalink
Fixed comments. Updated debug outputs.
Browse files Browse the repository at this point in the history
  • Loading branch information
mchf committed Jan 31, 2013
1 parent 6c6aaea commit 2eaef56
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modules/NetHwDetection.ycp
Expand Up @@ -48,7 +48,7 @@ import "String";

// yuck, FIXME
// this is here just because network/hardware.ycp references it
// because of detection and module loading (StartEthInterface)
// because of detection and module loading (LoadNetModules)
/* general stuff */
global string description = "";
global string type = "";
Expand Down Expand Up @@ -129,14 +129,14 @@ global define boolean Start() {
return false;
}

y2milestone("IFCONFIG1: %1", SCR::Execute(.target.bash_output, "/sbin/ifconfig"));
y2debug("IFCONFIG1: %1", SCR::Execute(.target.bash_output, "/sbin/ifconfig"));

boolean ret = false;
if( LoadNetModules()) {
running = true;
ret = true;
}

y2milestone("IFCONFIG2: %1", SCR::Execute(.target.bash_output, "/sbin/ifconfig"));
y2milestone("Detection start result: %1", ret);
return ret;
}
Expand Down
5 changes: 5 additions & 0 deletions src/routines/routines.ycp
Expand Up @@ -895,6 +895,11 @@ define list<string> GetAllInterfaces()
return result[ "exit"]:false ? result[ "output"]:[] : [];
}

/**
* Set all known interfaces up.
*
* @return true if all interfaces were successfully set up, false otherwise.
*/
define boolean SetAllLinksUp()
{
list< string> interfaces = GetAllInterfaces();
Expand Down

0 comments on commit 2eaef56

Please sign in to comment.