diff options
author | Silvino Silva <silvino@bk.ru> | 2016-08-20 05:35:06 +0100 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2016-08-20 05:35:06 +0100 |
commit | c178db81d64eed21177b4c5d78ab3db7a785b7fe (patch) | |
tree | 986f5a2a25b3e7ab65de1fcba71648b1c405064f /scripts/chroot.sh | |
parent | aa990cd7e4f7be6e760e9cbdd402041dfecca8c7 (diff) | |
download | doc-c178db81d64eed21177b4c5d78ab3db7a785b7fe.tar.gz |
initial ports, scripts revision
Diffstat (limited to 'scripts/chroot.sh')
-rw-r--r-- | scripts/chroot.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/chroot.sh b/scripts/chroot.sh new file mode 100644 index 0000000..00fbd78 --- /dev/null +++ b/scripts/chroot.sh @@ -0,0 +1,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 + |