[Pkg-sysvinit-devel] Bug#460404: Bug#460404: running fsck on battery should be configurable

Harald Dunkel harald.dunkel at t-online.de
Sat Jan 12 16:07:49 UTC 2008


Petter Reinholdtsen wrote:
> 
> One way to do this is by adding this function to /etc/default/rcS:
> 
>   on_ac_power() { true; }
> 
> It should make sure the function is used instead of the binary.
> 

But it would affect other startup scripts as well, e.g. anacron.
Below you can find a patch.


Harri

-------------- next part --------------
A non-text attachment was scrubbed...
Name: initscripts.patch
Type: text/x-patch
Size: 1651 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20080112/fcd03ca8/attachment.bin 


More information about the Pkg-sysvinit-devel mailing list