Closed muhammadn closed 8 years ago
I don't see how this is an actual crash, but the return value may indicate failure, so I agree, that should be fixed...
So, the crash of various daemons was the improper use of reboot(). As it turns out, nsh is expected to emulate the OS' set of actions that gracefully terminate daemons if you are running those daemons. Thererfore now nsh just calls /bin/halt or /bin/reboot.
nsh will not properly run halt and reboot which results in crash upon running 'halt' and 'reboot'.