Bug#441453: [Bug:#441453] initscripts: checkfs and checkroot should warn if on_ac_power fails

2008-06-09 Thread Mark Purcell
Thanks Petter, Your patch works for me. Certainly much better than the current package, which runs fsck even when I'm on battery. Also I suspect this is also addressing the same issue as #483394, just in a different manner, so I have merged, of course you may still wish to address independentl

Bug#441453: initscripts: checkfs and checkroot should warn if on_ac_power fails

2007-12-23 Thread Petter Reinholdtsen
I do not quite understand the patch proposed by Mark Purcell. Why is the dynamic check that will use the PATH to locate on_ac_power replaced with a check to use a hardcoded location? I tried merging the two patches to handle exit code 255 and providing more output while still keeping the dynamic

Bug#441453: initscripts: checkfs and checkroot should warn if on_ac_power fails

2007-09-09 Thread Cristian Rigamonti
Package: initscripts Version: 2.86.ds1-38.1 Severity: wishlist Tags: patch In order to skip fsck-ing while on battery power, the checkroot.sh and checkfs.sh scripts only check if on_ac_power's exit status == 1. Sometimes, on_ac_power is available but returns 255 (e.g. because the ac kernel module