1 |
#!/bin/sh |
#!/bin/sh |
2 |
# |
# |
3 |
# $Header: /home/cvsd/alx-cvs/alx-src/alxinstall-ng/bin/alxinstall-ng.sh,v 1.2 2005-04-18 20:27:57 niro Exp $ |
# $Header: /home/cvsd/alx-cvs/alx-src/alxinstall-ng/bin/alxinstall-ng.sh,v 1.3 2005-04-18 21:28:22 niro Exp $ |
4 |
# |
# |
5 |
# AutoSta_LX Installation Script |
# AutoSta_LX Installation Script |
6 |
# version: 0.8b |
# version: 0.8b |
544 |
fi |
fi |
545 |
|
|
546 |
##enters chroot |
##enters chroot |
547 |
mount -t proc proc $INSTALLPATH/proc |
mount -t proc none $INSTALLPATH/proc |
548 |
|
# bind /dev to get the devices right, |
549 |
|
# if bootet from a 2.6 kernel with udev |
550 |
|
mount -o bind /dev $INSTALLPATH/dev |
551 |
chroot $INSTALLPATH /bin/bash --rcfile /root/.bashrc -i |
chroot $INSTALLPATH /bin/bash --rcfile /root/.bashrc -i |
552 |
umount $INSTALLPATH/proc |
umount $INSTALLPATH/proc |
553 |
|
umount $INSTALLPATH/dev |
554 |
rm $INSTALLPATH/root/.bashrc |
rm $INSTALLPATH/root/.bashrc |
555 |
} |
} |
556 |
|
|