CMSECPATH=/nvram/1/security
CMDLPATH=/nvram/1/security/download
if [ "`readlink $CMSECPATH/cm_cert.cer`" = $CMDLPATH/cm_cert.cer ] ; then
echo -n "CM certificate: new"
else
echo -n "CM certificate: old"
fi
if [ "`readlink $CMSECPATH/cm_key_prv.bin`" = $CMDLPATH/cm_key_prv.bin ] ; then
echo "/new"
else
echo "/old"
fi
if [ "`readlink $CMSECPATH/mfg_cert.cer`" = $CMDLPATH/mfg_cert.cer ] ; then
echo -n "MFG certificate: new"
else
echo -n "MFG certificate: old"
fi
if [ "`readlink $CMSECPATH/mfg_key_pub.bin`" = $CMDLPATH/mfg_key_pub.bin ] ; then
echo "/new"
else
echo "/old"
fi