init 280 B

123456789
  1. #!/bin/sh
  2. # Emit a msg to let user know this place was reached
  3. echo "Copying to /home"
  4. # Had a case where cp SEGVs, let's have diagnostics for it
  5. cp -a /mnt /home || { echo "cp: $?"; exit 1; }
  6. cd /home/mnt || { echo "cd: $?"; exit 1; }
  7. exec ./build
  8. echo "Failed to exec ./build"