cmesh_test_keys_e25519/scripts/gen_all.sh
2025-04-27 08:56:02 +07:00

38 lines
1.1 KiB
Bash
Executable file

#!/bin/bash
################################################################################
# Intended use: Compile and extract software packages
#
# Notes: This script support Linux Bash shell script only
# Install Bash from https://www.gnu.org/software/bash/
#
# Copyright (C) 2015 - 2025, VGISC Dev Team <dev@vgisc.com>
################################################################################
filepath=`readlink -f $0`
basedir=`dirname $filepath`
SCRIPT_PATH=`dirname $filepath`
CMESH_CERT_BIN="$basedir/../bin/cmesh-cert"
i=3
NUM=254
echo ""
echo "Generating Cmesh cert/key for all devices..."
echo ""
echo ""
${SCRIPT_PATH}/gen_ca.sh
${SCRIPT_PATH}/gen_controller.sh
${SCRIPT_PATH}/gen_server.sh
${SCRIPT_PATH}/gen_desktop.sh
${SCRIPT_PATH}/gen_laptop.sh
${SCRIPT_PATH}/gen_phone.sh
${SCRIPT_PATH}/gen_tablet.sh
${SCRIPT_PATH}/gen_home.sh
echo ""
echo "=> Done."
echo ""
################################################################################
# BASH SCRIPT ON LINUX/UNIX - END
################################################################################