+ # Generate root SSH key
+ if [ ! -f $PLC_ROOT_SSH_KEY_PUB -o ! -f $PLC_ROOT_SSH_KEY ] ; then
+ ssh-keygen -N "" -C "$PLC_NAME Central <$PLC_MAIL_SUPPORT_ADDRESS>" \
+ -b $KEY_LEN_ROOT -t $KEY_TYPE_ROOT -f $tmp/root
+ check
+ install -D -m 600 $tmp/root $PLC_ROOT_SSH_KEY
+ install -D -m 644 $tmp/root.pub $PLC_ROOT_SSH_KEY_PUB
+ fi
+