gpt-2741gnac_root_files/_mtdblock5.img.extracted/squashfs-root/usr/script/unqKeyUpdate.sh
2023-11-26 03:26:24 -03:00

22 lines
575 B
Bash
Executable file

#!/bin/sh
PROFILE_CFG=/userfs/profile.cfg
if [ -f $PROFILE_CFG ] ; then
. $PROFILE_CFG
fi
echo "================================================"
echo " Check and update unique key - START"
echo "================================================"
if [ "$MSTC_SUPPORT_UNIQUE_CERT" != "" ] ; then
unqKeyHandler -t cert
fi
if [ "$MSTC_SUPPORT_UNIQUE_SSH_KEY" != "" ] ; then
unqKeyHandler -t ssh
fi
echo "================================================"
echo " Check and update unique key - END"
echo "================================================"