Fix script name.

This commit is contained in:
fewtarius 2023-02-06 08:53:46 -05:00
parent ae7c3a0bd4
commit d43d9966a9
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -43,7 +43,7 @@ ECTOOL="/usr/sbin/ectool"
DEBUG=false
function debug_out() {
$DEBUG && echo "led_mgr: $*"
$DEBUG && echo "ledcontrol: $*"
}
function ec_writecmd() {
@ -155,7 +155,7 @@ case $1 in
if [ ! -z "${COLOR}" ]
then
off
led_mgr ${COLOR} ${LEDBRIGHTNESS}
ledcontrol ${COLOR} ${LEDBRIGHTNESS}
fi
;;
*)
@ -164,7 +164,7 @@ case $1 in
if [ ! -z "${COLOR}" ]
then
off
led_mgr ${COLOR} ${LEDBRIGHTNESS}
ledcontrol ${COLOR} ${LEDBRIGHTNESS}
fi
;;
esac