idiosyncrasyes ...

This commit is contained in:
Erik Foris 2021-01-06 20:36:47 +00:00
parent 19d4566014
commit 5cd2c73390

View File

@ -27,11 +27,11 @@ if [ "$2" = "-e" ]
sudo ls "$4" > /dev/null
if [$? -gt 0]
then
echo "key not fount creating key"
sudo stenc -g 256 -k "$5" -kd "$6";
echo "key fount using key"
sudo stenc -f /dev/nst0 -e on -k "$5" -a 1 --ckod
else
echo "key fount using key"
echo "key not fount creating key"
sudo stenc -g 256 -k "$5" -kd "$6";
sudo stenc -f /dev/nst0 -e on -k "$5" -a 1 --ckod
fi