ups: add support for LIHVX2K0
This commit is contained in:
parent
c090894009
commit
db567a9fbd
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ cat <<EOF | ssh -t "root@${address}"
|
|||
set -x
|
||||
i=1
|
||||
|
||||
for ups in \$(lsusb -vv 2>/dev/null | grep -e "iProduct.* UPS" -e "iProduct.*Innova Unity" -A1 | awk '/iSerial/ { print \$3 }'); do
|
||||
for ups in \$(lsusb -vv 2>/dev/null | grep -e "iProduct.* UPS" -e "iProduct.*Innova Unity" -e "iProduct.*LIHVX2K0" -A1 | awk '/iSerial/ { print \$3 }'); do
|
||||
|
||||
uci set nut_server.ups\${i}=driver
|
||||
uci set nut_server.ups\${i}.port=auto
|
||||
|
|
Loading…
Reference in a new issue