chroot in shell script

chroot(8):
Code:
SYNOPSIS
     chroot [-u user] [-g group] [-G group,group,...] newroot [command]

Either put everything in the command part or copy a script into the chroot and just execute it.
 
Back
Top