about summary refs log blame commit diff stats
path: root/core/scripts/chroot.sh
blob: 00fbd78139de150c555da333b5bbe4267cd4d4ab (plain) (tree)
1
2
3
4
5
6
7
8
9








                                          
#!/bin/bash

CHROOT=/mnt

chroot $CHROOT /usr/bin/env -i \
  HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
  PATH=/bin:/usr/bin:/sbin:/usr/sbin \
  /bin/bash --login