mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
ETC - Initial install of EmComm Tools applications
This commit is contained in:
+7
-14
@@ -2,25 +2,18 @@
|
||||
#
|
||||
# Author : Gaston Gonzalez
|
||||
# Date : 16 March 2024
|
||||
# Updated : 4 October 2024
|
||||
# Purpose : Install base tools
|
||||
# Updated : 6 October 2024
|
||||
# Purpose : Install base tools and configuration
|
||||
set -e
|
||||
|
||||
et-log "Installing environment variables"
|
||||
grep ET_TEMP_DIR /etc/environment
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "ET_TEMP_DIR=/tmp/et" >> /etc/environment
|
||||
fi
|
||||
et-log "Installing environment variables..."
|
||||
cp -v ../overlay/etc/environment /etc/
|
||||
|
||||
grep ET_LOG_FILE /etc/environment
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "ET_LOG_FILE=/tmp/et/et.log" >> /etc/environment
|
||||
fi
|
||||
|
||||
et-log "Installing message of the day
|
||||
et-log "Installing message of the day..."
|
||||
cp -v ../overlay/etc/motd /etc/
|
||||
|
||||
et-log "Installing base packages"
|
||||
et-log "Installing base packages..."
|
||||
|
||||
apt install \
|
||||
build-essential \
|
||||
cmake \
|
||||
|
||||
Reference in New Issue
Block a user