kopia lustrzana https://github.com/km4ack/pi-build
Porównaj commity
2 Commity
92c72539b3
...
92033be06a
Autor | SHA1 | Data |
---|---|---|
KM4ACK | 92033be06a | |
KM4ACK | df502d10ae |
|
@ -264,7 +264,7 @@ fi
|
||||||
VARA_CHK=$(grep VARA ${BASE})
|
VARA_CHK=$(grep VARA ${BASE})
|
||||||
if [ -n $VARA_CHK ]; then
|
if [ -n $VARA_CHK ]; then
|
||||||
FREEMEM=$(free -m | grep Mem: | awk '{ print $2 }')
|
FREEMEM=$(free -m | grep Mem: | awk '{ print $2 }')
|
||||||
if [ $FREEMEM -lt 1900 ]; then
|
if [ $FREEMEM -lt 1500 ]; then
|
||||||
echo "Not enough memory available"
|
echo "Not enough memory available"
|
||||||
yad --form --width=500 --text-align=center --center --title="Build-a-Pi" --text-align=center \
|
yad --form --width=500 --text-align=center --center --title="Build-a-Pi" --text-align=center \
|
||||||
--image ${LOGO} --window-icon=${LOGO} --image-on-top --separator="|" --item-separator="|" \
|
--image ${LOGO} --window-icon=${LOGO} --image-on-top --separator="|" --item-separator="|" \
|
||||||
|
|
2
update
2
update
|
@ -322,7 +322,7 @@ fi
|
||||||
VARA_CHK=$(grep VARA ${BASE})
|
VARA_CHK=$(grep VARA ${BASE})
|
||||||
if [ -n $VARA_CHK ]; then
|
if [ -n $VARA_CHK ]; then
|
||||||
FREEMEM=$(free -m | grep Mem: | awk '{ print $2 }')
|
FREEMEM=$(free -m | grep Mem: | awk '{ print $2 }')
|
||||||
if [ $FREEMEM -lt 1900 ]; then
|
if [ $FREEMEM -lt 1500 ]; then
|
||||||
echo "Not enough memory available"
|
echo "Not enough memory available"
|
||||||
yad --form --width=500 --text-align=center --center --title="Build-a-Pi" --text-align=center \
|
yad --form --width=500 --text-align=center --center --title="Build-a-Pi" --text-align=center \
|
||||||
--image ${LOGO} --window-icon=${LOGO} --image-on-top --separator="|" --item-separator="|" \
|
--image ${LOGO} --window-icon=${LOGO} --image-on-top --separator="|" --item-separator="|" \
|
||||||
|
|
Ładowanie…
Reference in New Issue