btfsd_init.sh 212 B

12345678910
  1. #!/bin/sh
  2. # Init script to run in the btfsd container.
  3. set -e
  4. if [ "$BTFSD_USESWTPM" = 'true' ]; then
  5. export DBUS_SESSION_BUS_ADDRESS="$(dbus-daemon --fork --session --print-address)"
  6. fi
  7. cd app
  8. ./btfsd "$@"