Advertisement
Guest User

new-tazbb

a guest
May 8th, 2011
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. LOCAL_REPOSITORY="$SLITAZ_DIR/${undigest:-$SLITAZ_VERSION}"
  4. if [ -f $LOCAL_REPOSITORY/tazchroot.conf ]; then
  5. . $LOCAL_REPOSITORY/tazchroot.conf
  6. else
  7. tazwok configure-chroot
  8. . $LOCAL_REPOSITORY/tazchroot.conf
  9. fi
  10.  
  11. if [ -f $LOCAL_REPOSITORY/slitaz.conf ]; then
  12. . $LOCAL_REPOSITORY/slitaz.conf
  13. else
  14. . /etc/slitaz/slitaz.conf
  15. fi
  16.  
  17. if [ -f $LOCAL_REPOSITORY/tazwok.conf ]; then
  18. . $LOCAL_REPOSITORY/tazwok.conf
  19. else
  20. . /etc/slitaz/tazwok.conf
  21. fi
  22.  
  23. if [ ! -d $chroot_dir ]; then
  24. create_chroot
  25. fi
  26. mount_chroot
  27. chroot $LOCAL_REPOSITORY/chroot /usr/bin/tank-bot
  28. #chroot $LOCAL_REPOSITORY/chroot tazwok cook bash
  29. umount_chroot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement