[Pkg-acpi-devel] Bug#502704: Bug#502704: Bug#502704: Bug#502704: acpid is not

Loïc Minier lool at dooz.org
Fri Oct 24 08:19:55 UTC 2008


On Fri, Oct 24, 2008, Michael Meskes wrote:
> if [ $MODULES ]; then
> 	modprobe --all --use-blacklist $MODULES 2>/dev/null
> fi

 Err you probably lack a -n here, but FYI there's already:
    if [ -z "$MODULES" ]; then
        return
    fi

 I think modprobe --all always returns 0 (which is probably a bug; I've
 reported when I rewrote the init script), so it might be a bogus return
 again which might want to be return 0, but I don't think so.

-- 
Loïc Minier





More information about the Pkg-acpi-devel mailing list