mirror of
https://github.com/pi-hole/PADD.git
synced 2025-12-19 02:28:40 +00:00
Updated Update pages
- added update from c2 - renamed update to update padd
23
Updating from Chronometer2.md
Normal file
23
Updating from Chronometer2.md
Normal file
@@ -0,0 +1,23 @@
|
||||
To update PADD from chronometer2:
|
||||
- Get the latest version of PADD:
|
||||
```bash
|
||||
cd ~
|
||||
wget -N https://raw.githubusercontent.com/jpmck/PADD/master/padd.sh
|
||||
chmod +x padd.sh
|
||||
```
|
||||
- Edit the end of `~/.bashrc`:
|
||||
```bash
|
||||
# Run PADD
|
||||
# If we're on the PiTFT screen (ssh is xterm)
|
||||
if [ "$TERM" == "linux" ] ; then
|
||||
while :
|
||||
do
|
||||
./padd.sh
|
||||
sleep 1
|
||||
done
|
||||
fi
|
||||
```
|
||||
- Remove the old chronometer2 script:
|
||||
```bash
|
||||
rm -f chronometer2.sh
|
||||
```
|
||||
Reference in New Issue
Block a user