2 # SPDX-License-Identifier: Apache-2.0
3 # (C) 2018 Jan-Simon Möller, dl9pf@gmx.de, jsmoeller@linuxfoundation.org
4 # (C) 2022 Scott Murray <scott.murray@konsulko.com>
9 TARGET="/etc/xdg/AGL/agl-service-hvac-leds.conf"
12 # The device is always 0009 -> 9 . Only change is the i2c IF .
13 LED=`echo $1 | sed -e "s#0009#9#g"`
14 if [ $? -eq 0 ] ; then
16 sed -e "s#@DEVICE@#$LED#" ${TARGET}.in > ${TARGET}
18 echo "Invalid argument"