Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- LOCAL_REPOSITORY="$SLITAZ_DIR/${undigest:-$SLITAZ_VERSION}"
- if [ -f $LOCAL_REPOSITORY/tazchroot.conf ]; then
- . $LOCAL_REPOSITORY/tazchroot.conf
- else
- tazwok configure-chroot
- . $LOCAL_REPOSITORY/tazchroot.conf
- fi
- if [ -f $LOCAL_REPOSITORY/slitaz.conf ]; then
- . $LOCAL_REPOSITORY/slitaz.conf
- else
- . /etc/slitaz/slitaz.conf
- fi
- if [ -f $LOCAL_REPOSITORY/tazwok.conf ]; then
- . $LOCAL_REPOSITORY/tazwok.conf
- else
- . /etc/slitaz/tazwok.conf
- fi
- if [ ! -d $chroot_dir ]; then
- create_chroot
- fi
- mount_chroot
- chroot $LOCAL_REPOSITORY/chroot /usr/bin/tank-bot
- #chroot $LOCAL_REPOSITORY/chroot tazwok cook bash
- umount_chroot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement