[How-to] Log the boot time automatically

Dieses Thema im Forum "Anleitungen für Motorola Milestone" wurde erstellt von The Matrix, 30.06.2010.

  1. #1 The Matrix, 30.06.2010
    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:

    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

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


Diese Seite empfehlen