Thanks for your xbitmeter tar.gz.
I found that it needs an established network connection before /etc/init.d/bitmeter is run, that's why the script is in /root/Startup
See if this sorts it out for you.
Code:
#!/bin/sh
IFCONFIG="`ifconfig | grep '^[pwe]' | grep -v 'wmaster'`"
while [ "$IFCONFIG" != "" ]; do
sleep 1
ping -c 1 8.8.8.8
if [ $? -eq 0 ];then
break
else
ping -c 1 www.google.com
if [ $? -eq 0 ];then
break
fi
fi
done
/etc/init.d/bitmeter restart
Works a treat. What I did was un-install 0.7.6, delete the bitmeter directory in /root/.config, and re-booted. I then installed OscarTalks' .pet of the 0.8.0 version, as his starts the daemons, obviating a re-start. Started Chromium, and 'tabbed up' BitMeter; all working nicely.
Quit Chromium, and re-started it. As expected, the logs weren't updating... again. So; quit Chromium. Extracted your xbitmeter.tar.gz to /root/Startup. Checked with Geany...all present & correct.
Shut down, and re-booted. Back into Chromium, and re-started BitMeter; all behaving itself; logs now updating. Did a second shut-down, and re-boot (not strictly necessary, but I like to double-check things). Back into Chromium, and.....BitMeter 0.8.0 still working nicely! Excellent.
So; thanks for that. A nice, simple little 'workaround'; the best things usually are. Cheers, Geoffrey!
Appreciated.
Regards,
Mike.