wok view mirror-tools/stuff/slitaz/INSTALL @ rev 3277

Add: ophcrack, libqwt5-qt4, libqwt5-qt4-dev
author Cedric Tissieres <slitaz@objectif-securite.ch>
date Tue Jun 02 09:43:25 2009 +0200 (2009-06-02)
parents
children
line source
1 #!/bin/sh
2 DIR=$(dirname $0)
3 MOUNTS="/proc /sys /dev/pts /dev/shm"
4 cp /etc/resolv.conf etc
5 for i in $MOUNTS; do
6 [ -d $i ] && mount --bind $i $DIR/$i
7 done
8 #mount --bind /var/tmp tmp
9 mount --bind /tmp tmp || mount -t tmpfs tmpfs tmp
10 SHELL=/bin/ash chroot $DIR /bin/ash -
11 umount tmp
12 for i in $MOUNTS; do
13 umount $DIR/$i
14 done