- or download this
my $enable_poe = `poe ds`;
if ($enable_poe eq 'POE device missing or unpowered')
...
{
print "\nnothing happened\n";
}
- or download this
user@device:/tmp$ poe ds
Device ID 2, Rev. 0
- or download this
POE device missing or unpowered
- or download this
Device ID 2, Rev. 0
- or download this
Device ID 2, Rev. 0
Your Poe IS NOT enabled, dummy
- or download this
if ($enable_poe == 'POE device missing or unpowered')