formalitiers

This commit is contained in:
Erik Foris 2021-01-06 20:41:54 +00:00
parent 5cd2c73390
commit 55393b96da

View File

@ -9,7 +9,7 @@ if [ "$1" = "-h" ]
echo "Options:"
echo
echo "-a append arcive to the back of the tape put 0 as n"
echo "-c checks (lists) the contents of the n'th arcive"
echo "-c checks (lists) the contents of the n'th arcive put - as argument for directory to back up "
echo "-f Override the n'th arcive"
echo "-l Load the n'th arcive"
echo
@ -25,7 +25,7 @@ fi
if [ "$2" = "-e" ]
then
sudo ls "$4" > /dev/null
if [$? -gt 0]
if [ $? -gt 0 ]
then
echo "key fount using key"
sudo stenc -f /dev/nst0 -e on -k "$5" -a 1 --ckod