blob: b13c681c126f61cf2318573898389fcfa020ad3e [file] [log] [blame]
Kiran Kaminenic2a9c272018-05-08 16:24:28 -07001#!/bin/bash
2set -e
3
4# Start DBUS
5mkdir -p /var/run/dbus
6stdbuf -oL -eL dbus-daemon --system --nofork 2>&1 1> /var/log/dbus-daemon.log &
7
8# Start Resource Manager
9hostip=$(ip route show | awk '/default/ {print $3}')
10echo "Connecting to $hostip\n"
11tpm2-abrmd -a $hostip -t socket