summaryrefslogtreecommitdiffstats
path: root/INF.pm
diff options
context:
space:
mode:
authorroot <root@ka-ata-killa.panaceas.james.local>2021-09-01 09:25:25 +0100
committerroot <root@ka-ata-killa.panaceas.james.local>2021-09-01 09:25:25 +0100
commit3208e62b382f08a9ec6e2c44e0afcca12162acda (patch)
treee46877ad962e75d294fb13ab2e9d4006f3ec061f /INF.pm
parentffd666e52164d06bc67d3d134ae8f53eb268bf6b (diff)
downloadinf-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.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/INF.pm b/INF.pm
index 47e381e..ab247b8 100644
--- a/INF.pm
+++ b/INF.pm
@@ -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);