mirror of https://github.com/proot-me/proot.git
10 lines
399 B
Bash
10 lines
399 B
Bash
if [ ! -x ${ROOTFS}/bin/readlink ] || [ -z `which grep` ]; then
|
|
exit 125;
|
|
fi
|
|
|
|
${PROOT} -r ${ROOTFS} /bin/readlink /bin/abs-true | grep '^/bin/true$'
|
|
${PROOT} -r ${ROOTFS} /bin/readlink /bin/rel-true | grep '^\./true$'
|
|
|
|
${PROOT} -b /:/host-rootfs -r ${ROOTFS} /bin/readlink /bin/abs-true | grep '^/bin/true$'
|
|
${PROOT} -b /:/host-rootfs -r ${ROOTFS} /bin/readlink /bin/rel-true | grep '^./true$'
|