22 lines
575 B
Bash
Executable file
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 "================================================"
|