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