9 lines
478 B
Bash
9 lines
478 B
Bash
#!/usr/bin/env bash
|
|
|
|
install -m 0755 -o root -g root tpm-unseal-password.sh /usr/local/sbin/tpm-unseal-password.sh
|
|
install -m 0755 -o root -g root tpm-bootstrap-1password.sh /usr/local/sbin/tpm-bootstrap-1password.sh
|
|
install -m 0755 -o root -g root vault-tpm2-unseal.sh /usr/local/sbin/vault-tpm2-unseal.sh
|
|
install -m 0644 -o root -g root vault-tpm2-unseal.service /etc/systemd/system/vault-tpm2-unseal.service
|
|
systemctl daemon-reload
|
|
systemctl enable vault-tpm2-unseal.service
|