Of course you know it won't be persistent if you don't reboot and save. The main reason for the reboot is that if you have started PPM then none of the files for PPM in /tmp will be overwritten. Really PPM should have it's own mechanism for updating whatever repo you want instead of going through the lot, but that's up to BarryK.
~
I made a splash for 'stay-connected' and made an important change to the script. It was filling up /tmp/xerrs.log, I redirected the output to /dev/null. It also runs from /root/Startup and can be turned off. I have also reduced the chances of the process running more than once with a wrapper script.
Change to main script:
Code: Select all
#!/bin/sh
while [ 1 ]; do
ping -c 1 8.8.8.8 >/dev/null 2>&1
sleep 30
done