Menu

#289 if_existing work opposite

closed-fixed
nobody
Code (277)
5
2010-04-07
2010-03-31
Anonymous
No

But working backwards.

If is does, if it finds running. I have this code in my conky and it worked before 1.8.

${color0}${if_existing /proc/net/route wlan0}${color #729FCF}${font zekton:size=9}WLAN0${font} ${color1}$hr
${color0}IP: ${addr wlan0} ${alignr}Gateway: ${gw_ip}
${color0}Segnale: ${wireless_link_qual_perc wlan0}%
${color0}Down: ${downspeedf wlan0} kB/s ${alignr}Up: ${upspeedf wlan0} kB/s
$endif${color0}${if_existing /proc/net/route eth0}${color #729FCF}${font zekton:size=9}ETH0${font} ${color1}$hr
${color0}IP: ${addr eth0} ${alignr}Gateway: ${gw_ip}
${color0}Down: ${downspeedf eth0} kB/s ${alignr}Up: ${upspeedf eth0} kB/s

Now does the opposite

Discussion

  • Brenden Matthews

    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB