tazpanel diff lib/libtazpanel @ rev 161

Add report creation (to help debbuging)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 21 17:21:12 2011 +0200 (2011-04-21)
parents ed55f0e369b3
children ebf9e3bf4313
line diff
     1.1 --- a/lib/libtazpanel	Mon Apr 18 04:48:51 2011 +0200
     1.2 +++ b/lib/libtazpanel	Thu Apr 21 17:21:12 2011 +0200
     1.3 @@ -57,6 +57,10 @@
     1.4  	sed s"#[^']*#$date : \0#" >> $LOG_FILE
     1.5  }
     1.6  
     1.7 +ok_status() {
     1.8 +	echo "[<span class='diff-add'> OK </span>]"
     1.9 +}
    1.10 +
    1.11  # Network interface status
    1.12  interface_status() {
    1.13  	if 	ifconfig | grep -A 1 $i | grep -q inet; then