From 1ac5f126bf1b3f2e18001dab8b9f2ae6255309cf Mon Sep 17 00:00:00 2001 From: Silvino Silva Date: Mon, 22 Aug 2016 16:35:00 +0100 Subject: first doc core os revision --- core/scripts/chroot.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 core/scripts/chroot.sh (limited to 'core/scripts/chroot.sh') 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 + -- cgit 1.4.1-2-gfad0