kopia lustrzana https://github.com/km4ack/pi-build
update path
rodzic
adef0a4dc9
commit
3a55f07c0b
|
@ -187,7 +187,7 @@ by connecting to the internet or attaching a GPS" \
|
||||||
PISTATS() {
|
PISTATS() {
|
||||||
cd ${HOME} || return
|
cd ${HOME} || return
|
||||||
CUR=$(curl http://www.w1hkj.com/PI/pistats.html | grep tgz | sed 's/^.*href="//;s/">.*//')
|
CUR=$(curl http://www.w1hkj.com/PI/pistats.html | grep tgz | sed 's/^.*href="//;s/">.*//')
|
||||||
wget http://www.w1hkj.com/pi3/${CUR}
|
wget http://www.w1hkj.com/PI/${CUR}
|
||||||
tar -xzvf ${CUR}
|
tar -xzvf ${CUR}
|
||||||
rm ${CUR}
|
rm ${CUR}
|
||||||
PISTATDIR=$(ls ${HOME} | grep pistats)
|
PISTATDIR=$(ls ${HOME} | grep pistats)
|
||||||
|
|
Ładowanie…
Reference in New Issue