This commit is contained in:
j3d1 2020-01-31 15:44:24 +01:00
parent aaf8c2b72c
commit d919302209
1 changed files with 0 additions and 11 deletions

View File

@ -6,17 +6,6 @@ function prefix_time(){
done
}
function export_env(){
if [ $# -lt 2 ]; then
echo not enogh arguments for export_env
exit 1
fi
VAR=${1}
shift
echo ${VAR}=${@} >> ${UNBOX_ENV_FILE}
export ${VAR}=${@}
}
function mem_size(){
echo $(($(cat /proc/meminfo | grep MemTotal | awk '{print $2}')*1024))
}