idiosyncrasyes ...
This commit is contained in:
parent
19d4566014
commit
5cd2c73390
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user