Advertisement
Guest User

Untitled

a guest
Jul 20th, 2019
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. # Find the Alpine chroot, mount locally
  4. # and run initialization script
  5. # - Picks the first chroot available
  6. for m in /tmp/mnt/*; do
  7. if [ -f ${m}/isAlpine ]; then
  8. mount -o rw,remount,suid,exec ${m}
  9. mount -o bind ${m}/chroot /data/hack/chroot
  10. /data/hack/misc/alpine.sh &
  11. break
  12. fi
  13. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement