Comment 4 for bug 11194

Revision history for this message
ismail dönmez (ismail-kde) wrote :

I think the fix is wrong I started to get this message on my PC:

"On battery, not fscking!"

I think thats because

if [ -x /usr/bin/on_ac_power ] && [ $rootcheck = yes ]; then
        if ! /usr/bin/on_ac_power >/dev/null 2>&1; then
             log_success_msg "On battery, not fscking!"
             rootcheck=no
        fi
fi

fails because /usr is not mounted at the time of check.