slitaz-forge diff tank/taztank @ rev 38

boot: Update to new style and layout
author Christophe Lincoln <pankso@slitaz.org>
date Mon Mar 28 15:10:53 2011 +0200 (2011-03-28)
parents 5dbbf86c3bc0
children 482a0e54ae16
line diff
     1.1 --- a/tank/taztank	Wed Feb 23 22:04:10 2011 +0000
     1.2 +++ b/tank/taztank	Mon Mar 28 15:10:53 2011 +0200
     1.3 @@ -14,11 +14,11 @@
     1.4  Commands:
     1.5    stats         Display some Tank stats
     1.6    backup        Backup files and MySQL DB
     1.7 -  chroot	Move a user in a new chroot location
     1.8 +  chroot        Move a user into a new chroot location
     1.9    up-web        Update http://tank.slitaz.org/
    1.10    up-people     Update http://people.slitaz.org/
    1.11    up-web-stats  Update Awstats statistics (run by cron)
    1.12 -  clean-labs    Clean Redmine Labs (no more on Tank)\n"
    1.13 +  clean-labs    Clean Redmine Labs (no longer on Tank)\n"
    1.14  }
    1.15  
    1.16  case "$1" in
    1.17 @@ -101,13 +101,13 @@
    1.18  		rm -rf $WWW/people/*
    1.19  		cp -a people/* $WWW/people ;;
    1.20  	up-web-stats)
    1.21 -		echo -e "\nUpdating all awstats database...\n"
    1.22 +		echo -e "\nUpdating all awstats databases...\n"
    1.23  		for vh in www boot pkgs
    1.24  		do
    1.25  			/var/www/cgi-bin/awstats.pl -config=$vh.slitaz.org 
    1.26  		done ;;
    1.27  	clean-labs)
    1.28 -		# Redmin need some time help
    1.29 +		# Redmin needs some time help
    1.30  		/etc/init.d/lighttpd stop
    1.31  		/etc/init.d/mysql stop
    1.32  		killall ruby