I have modified my /etc/init.d/checkfs.sh, it know looks as follows:
(..)
do_start () {
# See if we're on AC Power
# If not, we're not gonna run our check
if which on_ac_power >/dev/null 2>&1
then
on_ac_power >/dev/null 2>&1
#changed from here
log_success_msg "Result from on_ac_power is $?"
sleep 5
#to here
if [ $? -eq 1 ]
then
[ "$VERBOSE" = no ] || log_success_msg "Running on
battery power, so skipping file system check."
BAT=yes
fi
fi
(..)
Is this correct?
Another question: I'll have another check for my / partition in about 5
mounts: how to check and what will happen?
Thanks
--
skipping fsck while booting on battery
https://bugs.launchpad.net/bugs/89752
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[EMAIL PROTECTED]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs