Fix script name.
This commit is contained in:
parent
ae7c3a0bd4
commit
d43d9966a9
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue