morpheus

suckless linux distro
git clone git://git.2f30.org/morpheus
Log | Files | Refs | Submodules | README | LICENSE

enter-emul (184B)


      1 #!/bin/sh
      2 
      3 cp /etc/resolv.conf /emul/etc/resolv.conf
      4 mount -B /proc /emul/proc
      5 mount -B /sys /emul/sys
      6 mount -B /dev /emul/dev
      7 mount -B /dev/pts /emul/dev/pts
      8 
      9 chroot /emul /bin/sh -l