diff options
author | root <root@ka-ata-killa.panaceas.james.local> | 2021-09-01 09:25:25 +0100 |
---|---|---|
committer | root <root@ka-ata-killa.panaceas.james.local> | 2021-09-01 09:25:25 +0100 |
commit | 3208e62b382f08a9ec6e2c44e0afcca12162acda (patch) | |
tree | e46877ad962e75d294fb13ab2e9d4006f3ec061f /INF.pm | |
parent | ffd666e52164d06bc67d3d134ae8f53eb268bf6b (diff) | |
download | inf-3208e62b382f08a9ec6e2c44e0afcca12162acda.tar.gz inf-3208e62b382f08a9ec6e2c44e0afcca12162acda.tar.bz2 inf-3208e62b382f08a9ec6e2c44e0afcca12162acda.zip |
add power controll to asrock, fix bug in supermicro, rename ilo -> ilo4
Diffstat (limited to 'INF.pm')
-rw-r--r-- | INF.pm | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,7 +2,7 @@ package INF; use INF::APC; use INF::DSRx020; use INF::ILO2; -use INF::ILO; #ilo 4 confusingly +use INF::ILO4; use INF::ILO5; use INF::SuperMicro; use INF::ASRock; @@ -45,10 +45,10 @@ sub new ($;$) { return INF::ILO2->new($inf); } elsif ( $inf->{inf_type} eq 'ilo' ) { - return INF::ILO->new($inf); + return INF::ILO4->new($inf); } elsif ( $inf->{inf_type} eq 'ilo4' ) { - return INF::ILO->new($inf); + return INF::ILO4->new($inf); } elsif ( $inf->{inf_type} eq 'ilo5' ) { return INF::ILO5->new($inf); |