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.
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 on_ac_power >/dev/null 2>&1; then
log_ success_ msg "On battery, not fscking!"
rootcheck =no
if ! /usr/bin/
fi
fi
fails because /usr is not mounted at the time of check.