On Tue, Sep 30, 2008, Sven Joachim wrote:
> It is a bad idea to use the syntax
> 
>     [ -f /proc/modules ] && load_modules
> 
> in /etc/init.d/acpid, since that causes immediate failure of the script
> if /proc/modules does not exist (such as in non-modular kernels).

 Thanks for the report, this was already fixed in git; I'm only waiting
 for some confirmation one way or the other from release team to push.

 The fix I did some days ago in git (well I rewrote most of the init
 script) is to use "[ -f /proc/modules ] || return" in load_modules():
    load_modules() {
        [ -f /proc/modules ] || return

  Cheers,
-- 
Loïc Minier



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to