The problem is that, like on_ac_power, e2fsck checks for /proc/acpi/ac_adapter/*/state in unix.c:is_on_batt().
This directory will not exist until the ac module is loaded.
The ac module is loaded by /etc/rc2.d/S10acpid, which runs after /etc/rcS.d/S20checkroot.sh and /etc/rcS.d/S30checkfs.sh, so e2fsck can't know that it's running on battery.
I suggest modifying /sbin/on_ac_power (which is run by checkroot.sh) to do a modprobe ac, in which case, this should be reassigned to powermgmt-base.
The problem is that, like on_ac_power, e2fsck checks for /proc/acpi/ ac_adapter/ */state in unix.c: is_on_batt( ).
This directory will not exist until the ac module is loaded.
The ac module is loaded by /etc/rc2. d/S10acpid, which runs after /etc/rcS. d/S20checkroot. sh and /etc/rcS. d/S30checkfs. sh, so e2fsck can't know that it's running on battery.
I suggest modifying /sbin/on_ac_power (which is run by checkroot.sh) to do a modprobe ac, in which case, this should be reassigned to powermgmt-base.