slitaz-forge diff mirror/info/index.php @ rev 361
mirror/info: vm lguest -> UML
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 13 18:15:41 2013 +0200 (2013-04-13) |
parents | 739ec2d4677a |
children | a33dea8a7991 |
line diff
1.1 --- a/mirror/info/index.php Tue Mar 26 09:19:18 2013 +0100 1.2 +++ b/mirror/info/index.php Sat Apr 13 18:15:41 2013 +0200 1.3 @@ -50,12 +50,13 @@ 1.4 <h4>Codename: <?php echo $host; ?></h4> 1.5 <p> 1.6 This is the SliTaz GNU/Linux main mirror. The server runs naturally SliTaz 1.7 - (stable) in an lguest virtual machine provided by 1.8 + (stable) in an UML virtual machine provided by 1.9 <a href="http://www.ads-lu.com/">Allied Data Sys. (ADS)</a>. 1.10 </p> 1.11 <p> 1.12 - Mirror CPU is a <?php system("sed -e '/^model name/!d;s/.*Intel(R) //;" . 1.13 - "s/@//;s/(.*)//;s/CPU //;s/.*AMD //;s/.*: //;s/Processor //' </proc/cpuinfo |" . 1.14 + Mirror CPU is a <?php system("( sed '/cpuinfo=/!d;" . 1.15 + "s/.*cpuinfo=\\([^ ]*\).*/: \\1/;s/_/ /g' /proc/cmdline ; grep '^model name' /proc/cpuinfo) | sed -e 's/.*Intel(R) //;" . 1.16 + "s/@//;s/(.*)//;s/CPU //;s/.*AMD //;s/.*: //;s/Processor //;q' |" . 1.17 " awk '{ s=$0; n++ } END { if (n == 2) printf \"dual \";" . 1.18 "if (n == 4) printf \"quad \"; print s }' ")?> - 1.19 <?php system("free | awk '/Mem:/ { x=2*$2-1; while (x >= 1024) { x /= 1024; ". 1.20 @@ -239,8 +240,8 @@ 1.21 "rsync" => "rsync://download.tuxfamily.org/pub/slitaz/"), 1.22 array( "flag" => "fr", 1.23 "http" => "http://www.linuxembarque.com/slitaz/mirror/"), 1.24 - array( "flag" => "cn", 1.25 - "http" => "http://mirror.lupaworld.com/slitaz/"), 1.26 +// array( "flag" => "cn", 1.27 +// "http" => "http://mirror.lupaworld.com/slitaz/"), 1.28 array( "flag" => "cn", 1.29 "http" => "http://ks.lupaworld.com/slitaz/"), 1.30 array( "flag" => "br", 1.31 @@ -253,8 +254,8 @@ 1.32 "rsync" => "rsync://slitaz.mirror.garr.it/mirrors/slitaz/"), 1.33 array( "flag" => "si", 1.34 "http" => "http://mirror.drustvo-dns.si/slitaz/"), 1.35 - array( "flag" => "si", 1.36 - "ftp" => "ftp://ftp.pina.si/slitaz/"), 1.37 +// array( "flag" => "si", 1.38 +// "ftp" => "ftp://ftp.pina.si/slitaz/"), 1.39 array( "flag" => "us", 1.40 "http" => "http://distro.ibiblio.org/pub/linux/distributions/slitaz/", 1.41 "ftp" => "ftp://distro.ibiblio.org/pub/linux/distributions/slitaz/"), 1.42 @@ -328,7 +329,7 @@ 1.43 echo "</pre>"; 1.44 } 1.45 1.46 -display_log("/var/log/packages-stable.log", "buildstable", "/iso/stable/packages-3.0.iso"); 1.47 +display_log("/var/log/packages-stable.log", "buildstable", "/iso/stable/packages-4.0.iso"); 1.48 display_log("/var/log/packages-cooking.log","buildcooking","/iso/cooking/packages-cooking.iso"); 1.49 ?> 1.50 1.51 @@ -348,7 +349,7 @@ 1.52 <a href="http://pkgs.slitaz.org/">Packages</a> 1.53 <a href="http://boot.slitaz.org/">Boot</a> 1.54 <a href="http://bugs.slitaz.org">Bugs</a> 1.55 - <a href="http://hg.slitaz.org/">Hg</a> 1.56 + <a href="http://hg.slitaz.org/?sort=lastchange">Hg</a> 1.57 <p> 1.58 <img src="#" alt="SliTaz @" onmouseover="this.title = location.href" 1.59 onclick="this.src = QRCode.generatePNG(location.href, {ecclevel: 'H'})" />