is_laptop () {
# We only support laptops by default,
# you can override this check by creating
# the /etc/force-pxpress file
if [ -f "$force_pxpress" ]; then
echo "yes "
else
if [ -n "`ls -A /sys/class/power_supply/`" ] && \
[ -d "/proc/acpi/button/lid" ]; then
echo "yes"
else
echo "no"
fi
fi
}
We found that somehow the string "yes" from echo command starts a yes process. There must be an interpolation of the output of this function ( is_laptop ). Editing the file and changing "yes " to something else (not a command) seems to fix the problem.
Thanks for hearing our comments !
# amd-xconfig
# from line 148
is_laptop () { power_supply/ `" ] && \ acpi/button/ lid" ]; then
# We only support laptops by default,
# you can override this check by creating
# the /etc/force-pxpress file
if [ -f "$force_pxpress" ]; then
echo "yes "
else
if [ -n "`ls -A /sys/class/
[ -d "/proc/
echo "yes"
else
echo "no"
fi
fi
}
We found that somehow the string "yes" from echo command starts a yes process. There must be an interpolation of the output of this function ( is_laptop ). Editing the file and changing "yes " to something else (not a command) seems to fix the problem.
Thanks for hearing our comments !
Nahuel Sciaratta
Alejandro Panza