NAME

Ixchel::functions::serial - Returns either system serial or baseboard serial found via dmidecode.

VERSION

Version 0.0.1

SYNOPSIS

use Ixchel::functions::serial;

print 'Serial: '.serial_num."\n";

Functions

serial_num

Fetches either system-product-name or baseboard-serial-number via dmidecode.

First system-serial-number is tried and if that matches /To be/, then baseboard-serial-number is used.

If not ran as root, this will return blank.