slitaz-arm diff cgi-adm/tools.cgi @ rev 88

Improve tazberry, prepa for running post_install on first boot
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 04 19:04:15 2014 +0200 (2014-04-04)
parents 817a5e031220
children e4640054ca22
line diff
     1.1 --- a/cgi-adm/tools.cgi	Sat Mar 29 14:54:32 2014 +0100
     1.2 +++ b/cgi-adm/tools.cgi	Fri Apr 04 19:04:15 2014 +0200
     1.3 @@ -42,7 +42,7 @@
     1.4  	do
     1.5  		. ${plugins}/${p}/${p}.conf
     1.6  	cat << EOT
     1.7 -<div><b><a href="$script?$p">$p</a></b></div>
     1.8 +<div><b><a href="$script?$p">$PLUGIN</a></b></div>
     1.9  <pre>
    1.10  Description : $SHORT_DESC
    1.11  Website     : <a href="$WEB_SITE">${WEB_SITE#http://}</a>
    1.12 @@ -70,19 +70,12 @@
    1.13  CPU usage    : $(top -n 1 | fgrep CPU: | awk '{print $4}')
    1.14  </pre>
    1.15  
    1.16 -<pre>
    1.17 -Filesystem                Size      Used Available Use% Mounted on
    1.18 ---------------------------------------------------------------------------------
    1.19 -$(df -h | grep ^/dev)
    1.20 -</pre>
    1.21 -
    1.22  <div id="actions">
    1.23  	<form method="get" action="$script">
    1.24  		<input type="submit" name="reboot" value="Reboot system" />
    1.25  		<input type="submit" name="halt" value="Halt system" />
    1.26  	</form>
    1.27  </div>
    1.28 -
    1.29  EOT
    1.30  }
    1.31