From 3208e62b382f08a9ec6e2c44e0afcca12162acda Mon Sep 17 00:00:00 2001 From: root Date: Wed, 1 Sep 2021 09:25:25 +0100 Subject: add power controll to asrock, fix bug in supermicro, rename ilo -> ilo4 --- INF.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'INF.pm') 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); -- cgit v1.2.3