kokokoasd/newbtest-storage / new /enter_fb_dev_shell.sh
kokokoasd's picture
download
raw
504 Bytes
#!/usr/bin/env bash
set -euo pipefail
ROOTFS="${ROOTFS:-/}"
WORKDIR="${WORKDIR:-/data/new}"
RCFILE="${RCFILE:-/data/new/fb_dev_shell_rc}"
if [ "$#" -gt 0 ]; then
CMD="$*"
exec proot \
-R "${ROOTFS}" \
-b /data/new:/data/new \
-b /home/user:/home/user \
-w "${WORKDIR}" \
/bin/bash -lc "source '${RCFILE}'; ${CMD}"
else
exec proot \
-R "${ROOTFS}" \
-b /data/new:/data/new \
-b /home/user:/home/user \
-w "${WORKDIR}" \
/bin/bash --rcfile "${RCFILE}" -i
fi

Xet Storage Details

Size:
504 Bytes
·
Xet hash:
44018cc7d15126e443350ae924c6f2ad352d2fa2c28748382e9a0276e4760c5e

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.