slitaz-forge diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tank/files/usr/bin/tank-bot Wed Feb 23 23:38:49 2011 +0000 1.3 @@ -0,0 +1,17 @@ 1.4 +#!/bin/sh 1.5 + 1.6 +sandbox=/home/slitaz/cooking/sandbox 1.7 + 1.8 +[ -d "$sandbox/proc/1" ] && exit 1.9 + 1.10 +mount -t proc proc $sandbox/proc 1.11 +mount -t sysfs sysfs $sandbox/sys 1.12 +mount -t devpts devpts $sandbox/dev/pts 1.13 +mount -t tmpfs shm $sandbox/dev/shm 1.14 + 1.15 +chroot $sandbox tank-bot 1.16 + 1.17 +umount $sandbox/dev/shm 1.18 +umount $sandbox/dev/pts 1.19 +umount $sandbox/sys 1.20 +umount $sandbox/proc 1.21 \ No newline at end of file