Skip to content

Commit

Permalink
Update 2020-06-19
Browse files Browse the repository at this point in the history
  • Loading branch information
NEMS Linux committed Jun 19, 2020
1 parent 9ef69c3 commit 1ff069f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nems-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ echo Pushing NEMS update: $comment
echo ""
read -s -p "Github Password: " password

ram=$(grep MemTotal /proc/meminfo | awk '{print $2 * 1024}')
ram=$(( ${ram}*40/100 ))
ram=$(grep MemTotal /proc/meminfo | awk '{print $2 * 1024/2}')
ram=$(( ${ram}*90/100 ))
ramMB=$(( ${ram}/1024/1024 ))
echo ""
echo ""
Expand Down

0 comments on commit 1ff069f

Please sign in to comment.