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