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