![]() |
Re: Completely Power Off Your Device After a Few Reboots!
"0" here too. How can you not power off and just reboot? I see no reboot option, just "Switch off!".
Oh... terminal command. Got it;) |
Re: Completely Power Off Your Device After a Few Reboots!
@Rushmore: I'm guessing this will mainly be in connection with the 'automatic reboot' problems some people are experiencing.
|
Re: Completely Power Off Your Device After a Few Reboots!
erm..Where do i put his code?
|
Re: Completely Power Off Your Device After a Few Reboots!
Quote:
* (*) * * * (picture those bootup dots or "balloons") From the bug report: Quote:
Quote:
Also, the bug report provides a temporary workaround: Quote:
Code:
echo_g "Houston, we have a problem, powering off..." -Jeff |
Re: Completely Power Off Your Device After a Few Reboots!
Quote:
|
Re: Completely Power Off Your Device After a Few Reboots!
Mine is at 0, and the file date reflects the time I last did a switch off via the power switch menu (no power cable connected). I guess that must be enough to reset it, then.
Why couldn't you just put Code:
echo 0 > /var/lib/dsme/boot_count Looking at the getbootstate binary, there's the line: Quote:
So maybe this is to avoid endless reboot cycles when something is seriously broken. In that case, just making one of the normal init.d shutdown scripts set the count to 0 might be the right fix? Edit: Or, maybe I've got the wrong end of the stick here.. does rebooting "normally" actually increment the count in this file at the next boot, or is it just kernel crashes that do this? If the latter, maybe something resetting the count in the zzinitdone start) case might be better, on the assumption that getting that far is far enough to count as a normal startup? Maybe I should leave this to actual Nokia devs ;) Can't help being curious though! Further edit: Ok, so if there's no shutdown runlevel, I guess the K00zzinitdone script in /etc/rc2.d/ isn't going to get invoked at shutdown. In which case pretty much all of the above can be ignored. :o |
Re: Completely Power Off Your Device After a Few Reboots!
Quote:
cat /var/lib/dsme/boot_count |
Re: Completely Power Off Your Device After a Few Reboots!
aff my at 3, btw can someone give me the command for fully poweroff the device
|
Re: Completely Power Off Your Device After a Few Reboots!
Quote:
|
Re: Completely Power Off Your Device After a Few Reboots!
Quote:
|
All times are GMT. The time now is 20:52. |
vBulletin® Version 3.8.8