add reboot option, change autoinstall option
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
UNetbootin |
New
|
Undecided
|
Unassigned |
Bug Description
It would be nice to have a reboot option added to fully automate unetbootin from the command line. Also, what about about changing overwriteall to true when the autoinstall option is specified?
unetbootin.cpp
152d151
< reboot = "";
160a160
> overwriteall = false;
356,365d355
< else if (pfirst.
< {
< if (psecond.
< reboot = "y";
< else if (psecond.
< {
< sdesc4-
< reboot = "n";
< }
< }
369,370d358
< {
< overwriteall = true;
372d359
< }
2902,2906c2889
< if (reboot == "y")
< sysreboot();
< else if (reboot == "n")
< exit(0);
< else
---
> if (installType == tr("Hard Disk"))
2908,2915c2891,2895
< if (installType == tr("Hard Disk"))
< {
< rebootmsgtext-
< }
< if (installType == tr("USB Drive"))
< {
< rebootmsgtext-
< }
---
> rebootmsgtext-
> }
> if (installType == tr("USB Drive"))
> {
> rebootmsgtext-
unetbootin_h.cpp
166d165
< QString reboot;