a radical and experimental distribution based on musl libc and busybox http://sabo.xyz
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
202 B

#!/bin/sh
if [ $UID -ne 0 ]; then
su -c $0
exit $?
fi
export H=$(pwd)
. $H/config
mount --rbind /dev $R/dev
mount --rbind /proc $R/proc
echo "Entering chroot..."
SHELL=/bin/sh chroot $R /bin/sh