bash-stuff/update-clevis-binding-source-files/update_clevis_binding_auto.service.p1

7 lines
221 B
Plaintext
Raw Permalink Normal View History

[Unit]
Description=Update the clevis LUKS slot on the specified device automatically on boot if enabled
[Service]
Type=oneshot
ExecStart=bash -c 'if [ -f /opt/ucba-required ]; then /usr/local/sbin/update-clevis-binding