nxdk-rdt icon indicating copy to clipboard operation
nxdk-rdt copied to clipboard

Remove `dbgd_reboot`?

Open JayFoxRox opened this issue 7 years ago • 2 comments

Just by looking at the code, this looks pretty bad. dbgd_reboot should just set a flag and the mainloop should then reboot after nicely shutting down.

JayFoxRox avatar May 17 '17 13:05 JayFoxRox

It's not very clean but I think it's only a minor issue atm.

mborgerson avatar May 17 '17 18:05 mborgerson

We should drop reboot entirely because of #6 . If we can call any kernel function rebooting can be done through those. The only benefit of integrating it as a seperate command is that we can close the connection nicely. (But we might get away with some callback registration or something?)

JayFoxRox avatar Jun 22 '17 00:06 JayFoxRox