kopia lustrzana https://github.com/km4ack/pi-build
Porównaj commity
No commits in common. "e6a19da1a067dcc007b9e6d8d4f55d730670b8a6" and "b68dc42b8420e490a6c711ddc67cec445115ce12" have entirely different histories.
e6a19da1a0
...
b68dc42b84
|
@ -264,7 +264,7 @@ fi
|
|||
VARA_CHK=$(grep VARA ${BASE})
|
||||
if [ -n $VARA_CHK ]; then
|
||||
FREEMEM=$(free -m | grep Mem: | awk '{ print $2 }')
|
||||
if [ $FREEMEM -lt 1500 ]; then
|
||||
if [ $FREEMEM -lt 1900 ]; then
|
||||
echo "Not enough memory available"
|
||||
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="|" \
|
||||
|
|
|
@ -74,10 +74,7 @@ PAT() {
|
|||
#This is a secutiry risk. See https://github.com/km4ack/pi-build/issues/299
|
||||
#Changed to 127.0.0.1 on 11OCT2021 KM4ACK
|
||||
sed -i "s/\"http_addr\": \".*\",/\"http_addr\": \"127.0.0.1:$PORT\",/" ${FIG}
|
||||
#jq '.ax25.rig = '\"my-rig\"'' ${FIG} | jq '.ardop.rig = '\"my-rig\"'' | jq '.hamlib_rigs = {'\"my-rig\"': {"address": "127.0.0.1:4532", "network": "tcp"}}' >~/Desktop/config.json
|
||||
jq '.ax25.rig = '\"my-rig\"'' ${FIG} | jq '.varafm.rig = '\"my-rig\"'' | jq '.varahf.rig = '\"my-rig\"'' | jq '.ardop.rig = '\"my-rig\"'' | \
|
||||
jq '.varafm.ptt_ctrl = 'true'' | jq '.varahf.ptt_ctrl = 'true'' | \
|
||||
jq '.hamlib_rigs = {'\"my-rig\"': {"address": "127.0.0.1:4532", "network": "tcp"}}' >~/Desktop/config.json
|
||||
jq '.ax25.rig = '\"my-rig\"'' ${FIG} | jq '.ardop.rig = '\"my-rig\"'' | jq '.hamlib_rigs = {'\"my-rig\"': {"address": "127.0.0.1:4532", "network": "tcp"}}' >~/Desktop/config.json
|
||||
mv ${HOME}/Desktop/config.json ${FIG}
|
||||
sed -i 's/"enable_http": false,/"enable_http": true,/' ${FIG}
|
||||
|
||||
|
|
2
update
2
update
|
@ -322,7 +322,7 @@ fi
|
|||
VARA_CHK=$(grep VARA ${BASE})
|
||||
if [ -n $VARA_CHK ]; then
|
||||
FREEMEM=$(free -m | grep Mem: | awk '{ print $2 }')
|
||||
if [ $FREEMEM -lt 1500 ]; then
|
||||
if [ $FREEMEM -lt 1900 ]; then
|
||||
echo "Not enough memory available"
|
||||
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="|" \
|
||||
|
|
Ładowanie…
Reference in New Issue