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 sudo ls "$4" > /dev/null
if [$? -gt 0] if [$? -gt 0]
then then
echo "key not fount creating key" echo "key fount using key"
sudo stenc -g 256 -k "$5" -kd "$6";
sudo stenc -f /dev/nst0 -e on -k "$5" -a 1 --ckod sudo stenc -f /dev/nst0 -e on -k "$5" -a 1 --ckod
else 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 sudo stenc -f /dev/nst0 -e on -k "$5" -a 1 --ckod
fi fi