[How-to] Log the boot time automatically

T

The Matrix

Ambitioniertes Mitglied
18
Some milestones suffer the autoreboot bug.

The uptime is visible under settings, but is not possible to known the number of reboots after a date (or i don't known how) :)

The attached (simply) shell program logs the date of each reboot in the file "/data/startup.log".

For install, simply copy this shell in your scripts directory and include a call to this program in your mot_boot_mode file (remember to save with *.sh extension and to assign the 0755 perms to the program) ...

The contents of the startup.log file has the form:

Code:
mié jun 30 12:05:53 CEST 2010
mié jun 30 12:08:53 CEST 2010
mié jun 30 12:15:54 CEST 2010
mié jun 30 12:25:34 CEST 2010
mié jun 30 12:45:57 CEST 2010
Enjoy!


* note: i do not responsible for damages, of course :)
 

Anhänge

  • startupLog .sh.txt
    1,3 KB · Aufrufe: 219

Ähnliche Themen

B
Antworten
6
Aufrufe
7.574
martin_austria
M
-FuFu-
  • -FuFu-
Antworten
0
Aufrufe
2.602
-FuFu-
-FuFu-
Koelli91
Antworten
1
Aufrufe
4.371
TheSpiritof69
TheSpiritof69
Zurück
Oben Unten