slitaz-forge view tank/files/usr/bin/tank-bot @ rev 13

Added tank/files folder. Removed alot in teh awstats conf files. Moved all optional to awstats.optional.conf. Added line to include that file.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Feb 23 23:38:49 2011 +0000 (2011-02-23)
parents
children
line source
1 #!/bin/sh
3 sandbox=/home/slitaz/cooking/sandbox
5 [ -d "$sandbox/proc/1" ] && exit
7 mount -t proc proc $sandbox/proc
8 mount -t sysfs sysfs $sandbox/sys
9 mount -t devpts devpts $sandbox/dev/pts
10 mount -t tmpfs shm $sandbox/dev/shm
12 chroot $sandbox tank-bot
14 umount $sandbox/dev/shm
15 umount $sandbox/dev/pts
16 umount $sandbox/sys
17 umount $sandbox/proc