diff options
Diffstat (limited to 'package/webif/files/www/cgi-bin/webif/info.sh')
-rwxr-xr-x | package/webif/files/www/cgi-bin/webif/info.sh | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/package/webif/files/www/cgi-bin/webif/info.sh b/package/webif/files/www/cgi-bin/webif/info.sh deleted file mode 100755 index cc7639702..000000000 --- a/package/webif/files/www/cgi-bin/webif/info.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/usr/bin/webif-page -<? -. /usr/lib/webif/webif.sh -header "Info" "Router Info" "@TR<<Router Info>>" - -?> -<pre><? -_version=$( grep "(" /etc/banner ) -_version="${_version%% ---*}" -_kversion="$( cat /proc/version )" -_date="$(date)" -_mac="$(/sbin/ifconfig eth0 | grep HWaddr | cut -b39-)" -sed -e 's/&/&/g' < /etc/banner -cat <<EOF -</pre> -<br /> -<br /> -<table style="width: 90%; text-align: left;" border="0" cellpadding="2" cellspacing="2" align="center"> -<tbody> - <tr> - <td>@TR<<Firmware Version>></td> - <td>$_version</td> - </tr> - <tr> - <td>@TR<<Kernel Version>></td> - <td>$_kversion</td> - </tr> - <tr> - <td>@TR<<Current Date/Time>></td> - <td>$_date</td> - </tr> - <tr> - <td>@TR<<MAC Address>></td> - <td>$_mac</td> - </tr> -</tbody> -</table> -EOF - -footer -?> -<!-- -##WEBIF:name:Info:10:Router Info ---> |