#!/bin/sh

cat /proc/cmdline | grep RtkSFC: >/dev/null

if [ $? -eq 0 ]; then
    fw_printenv | awk -F= '/sn=/ {print $2}'
else
    dmidecode -s 'system-product-name'
fi
exit 0
