bash-stuff/local-sbin/update-clevis-binding

8 lines
150 B
Plaintext
Raw Permalink Normal View History

#!/bin/bash
if [ $# -ne 2 ]; then
echo 'update-clevis-binding <device> <slot>';
exit 1;
fi
/usr/bin/clevis luks regen -q -d "$1" -s "$2"
exit $?;