# HG changeset patch # User Pascal Bellard # Date 1250676211 -7200 # Node ID ee8c515e6e41873b17e09319dcf725c1ff0642c2 # Parent 78b366b017fc0b19470521c8e704b23cba6b0b47 mirror-tools: be fhs compatible diff -r 78b366b017fc -r ee8c515e6e41 mirror-tools/stuff/slitaz/INSTALL --- a/mirror-tools/stuff/slitaz/INSTALL Wed Aug 19 10:13:45 2009 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,14 +0,0 @@ -#!/bin/sh -DIR=$(dirname $0) -MOUNTS="/proc /sys /dev/pts /dev/shm" -cp /etc/resolv.conf etc -for i in $MOUNTS; do - [ -d $i ] && mount --bind $i $DIR/$i -done -#mount --bind /var/tmp tmp -mount --bind /tmp tmp || mount -t tmpfs tmpfs tmp -SHELL=/bin/ash chroot $DIR /bin/ash - -umount tmp -for i in $MOUNTS; do - umount $DIR/$i -done diff -r 78b366b017fc -r ee8c515e6e41 mirror-tools/stuff/usr/share/slitaz-live/INSTALL --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/stuff/usr/share/slitaz-live/INSTALL Wed Aug 19 12:03:31 2009 +0200 @@ -0,0 +1,14 @@ +#!/bin/sh +DIR=$(dirname $0) +MOUNTS="/proc /sys /dev/pts /dev/shm" +cp /etc/resolv.conf etc +for i in $MOUNTS; do + [ -d $i ] && mount --bind $i $DIR/$i +done +#mount --bind /var/tmp tmp +mount --bind /tmp tmp || mount -t tmpfs tmpfs tmp +SHELL=/bin/ash chroot $DIR /bin/ash - +umount tmp +for i in $MOUNTS; do + umount $DIR/$i +done