Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # Find the Alpine chroot, mount locally
- # and run initialization script
- # - Picks the first chroot available
- for m in /tmp/mnt/*; do
- if [ -f ${m}/isAlpine ]; then
- mount -o rw,remount,suid,exec ${m}
- mount -o bind ${m}/chroot /data/hack/chroot
- /data/hack/misc/alpine.sh &
- break
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement