formalitiers
This commit is contained in:
parent
5cd2c73390
commit
55393b96da
@ -9,7 +9,7 @@ if [ "$1" = "-h" ]
|
|||||||
echo "Options:"
|
echo "Options:"
|
||||||
echo
|
echo
|
||||||
echo "-a append arcive to the back of the tape put 0 as n"
|
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 "-f Override the n'th arcive"
|
||||||
echo "-l Load the n'th arcive"
|
echo "-l Load the n'th arcive"
|
||||||
echo
|
echo
|
||||||
@ -25,7 +25,7 @@ fi
|
|||||||
if [ "$2" = "-e" ]
|
if [ "$2" = "-e" ]
|
||||||
then
|
then
|
||||||
sudo ls "$4" > /dev/null
|
sudo ls "$4" > /dev/null
|
||||||
if [$? -gt 0]
|
if [ $? -gt 0 ]
|
||||||
then
|
then
|
||||||
echo "key fount using key"
|
echo "key fount using key"
|
||||||
sudo stenc -f /dev/nst0 -e on -k "$5" -a 1 --ckod
|
sudo stenc -f /dev/nst0 -e on -k "$5" -a 1 --ckod
|
||||||
|
Loading…
Reference in New Issue
Block a user