cedr-activate.sh 350 B

12345678910111213141516
  1. #!/bin/bash
  2. # cedr - the ChromeOS Enrolled Desktop Runtime
  3. # Licensed under the MIT License (https://github.com/rainestorme/cedr/blob/main/LICENSE)
  4. pushd /home/chronos/usbdrv || exit
  5. # Add host-bin to $PATH
  6. export PATH="/home/chronos/usbdrv/crouton/host-bin:$PATH"
  7. # Enter chroot
  8. hostcmd=$(cat /home/chronos/usbdrv/)
  9. $hostcmd
  10. # Exit
  11. popd || exit