Skip to content

Commit

Permalink
Add "netconfig" boot option to force displaying network settings dialog
Browse files Browse the repository at this point in the history
For deployments that are meant to be used with static network configurations.
  • Loading branch information
maxnet committed Aug 13, 2014
1 parent ace2656 commit ad14049
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions BerrybootGUI2.0/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "logindialog.h"
#include "wifidialog.h"
#include "bootmenudialog.h"
#include "networksettingsdialog.h"
#include <QDebug>
#include <QStyle>
#include <QDesktopWidget>
Expand Down Expand Up @@ -176,6 +177,11 @@ int main(int argc, char *argv[])
ld.exec();
DiskDialog w(&i);
w.exec();
if ( i.bootoptions().contains("netconfig"))
{
NetworkSettingsDialog nd(&i);
nd.exec();
}
AddDialog a(&i);
a.exec();
}
Expand Down

0 comments on commit ad14049

Please sign in to comment.