From: Benjamin K. <bk...@em...> - 2006-07-14 01:24:38
|
Hi! I have an icon to indicate whether my PPP connection is up or not. I'd also like to regulate the speed of the icon. In my lcd4linux.conf, I have: Widget PPPSpeed { class 'Timer' expression pppspeed = (1/((netdev('ppp0', 'Rx_bytes', 1000) + netdev('ppp0', 'Rx_bytes', 1000))/99999)) update 100 } Widget Arrow { class 'Icon' speed pppspeed visible exec('/sbin/ifconfig | grep ppp | wc -l', 1000) Bitmap { Row1 '...' } } ...But this doesn't work. How should I be doing this? Is it even possible? Thanks, Benjamin Kudria |