This commit is contained in:
j3d1 2020-01-31 15:44:24 +01:00
parent aaf8c2b72c
commit d919302209

View file

@ -6,17 +6,6 @@ function prefix_time(){
done 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(){ function mem_size(){
echo $(($(cat /proc/meminfo | grep MemTotal | awk '{print $2}')*1024)) echo $(($(cat /proc/meminfo | grep MemTotal | awk '{print $2}')*1024))
} }