Hi there!

On Thu, 06 Nov 2008 21:04:50 +0100, Joachim Breitner wrote:
> Am Donnerstag, den 06.11.2008, 19:54 +0000 schrieb Enrico Zini:
>> Another possibility would be to change the init script so that it won't run
>> fsck if a file exists (similar idea to flagfiles like /etc/nologin): an init
>> script run earlier can create the flagfile if some conditions happen (on
>> battery, charging from almost flat, whatever).
>
> There is support for that already, by touching /fastboot (supported
> by /etc/init.d/checkfs.sh and /etc/init.d/checkroot.sh )

I think this could be used to improve the situation for everyone,
i.e. not only for the FR users, but it should be done automatically.

- configuration in /etc/default/rcS or /etc/fastboot.conf, with at least
  three values:

    FASTBOOT_AUTOMATIC_TOUCH=[yes|no]
    FASTBOOT_AUTOMATIC_DELETE=[yes|no]
    FASTBOOT_BATTERY_THRESHOLD_PERCENT=5

- at boot, everything is already in place, we just need to add the
  support for automatic deletion of /fastboot

- at shutdown, an init script should check the battery status and touch
  /fastboot if the battery level is less than the threshold

Does the above sound correct?

Thx, bye,
Gismo / Luca

Attachment: pgpdeYq2aSI61.pgp
Description: PGP signature

_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to