summaryrefslogtreecommitdiffstats
path: root/INF.pm
diff options
context:
space:
mode:
authorroot <root@ka-ata-killa.panaceas.james.local>2021-09-01 00:11:37 +0100
committerroot <root@ka-ata-killa.panaceas.james.local>2021-09-01 00:13:58 +0100
commit21a57211e96a5ce5989ca006af8f26ffe391e0c9 (patch)
tree2251c5885b071721bc90a38ac5952ae40bf26f7b /INF.pm
parentb6ff4cb4dcc61cb069740b0f0e5098394b4a700d (diff)
downloadinf-21a57211e96a5ce5989ca006af8f26ffe391e0c9.tar.gz
inf-21a57211e96a5ce5989ca006af8f26ffe391e0c9.tar.bz2
inf-21a57211e96a5ce5989ca006af8f26ffe391e0c9.zip
add asrock support
Diffstat (limited to 'INF.pm')
-rw-r--r--INF.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/INF.pm b/INF.pm
index 58a5964..9b03767 100644
--- a/INF.pm
+++ b/INF.pm
@@ -5,6 +5,7 @@ use INF::ILO2;
use INF::ILO; #ilo 4 confusingly
use INF::ILO5;
use INF::SuperMicro;
+use INF::ASRock;
use INF::Cyclades;
@@ -36,6 +37,8 @@ sub new ($;$) {
return INF::APC->new($inf);
} elsif ( $inf->{inf_type} eq 'supermicro' ) {
return INF::SuperMicro->new($inf);
+ } elsif ( $inf->{inf_type} eq 'asrock' ) {
+ return INF::ASRock->new($inf);
} elsif ( $inf->{inf_type} eq 'ilo2' ) {
return INF::ILO2->new($inf);
} elsif ( $inf->{inf_type} eq 'ilo' ) {