do not use /mnt/factotum

This commit is contained in:
rsc 2005-02-14 16:11:58 +00:00
parent d76c8130e6
commit 8da6bca807

View file

@ -65,7 +65,7 @@ if(~ $flush no && ~ $edit no && ~ $load no){
if(~ $flush yes && ~ $edit no && ~ $load no){ if(~ $flush yes && ~ $edit no && ~ $load no){
echo flushing old keys echo flushing old keys
echo delkey > /mnt/factotum/ctl echo delkey | 9p write factotum/ctl
exit 0 exit 0
} }
@ -146,8 +146,9 @@ for(i in `{editedfiles}){
exit password exit password
} }
echo ''''$i'''' copied to $name echo ''''$i'''' copied to $name
if(~ $i factotum) if(~ $i factotum && ! ~ $load yes){ # do not do it twice
read -m < $i > /mnt/factotum/ctl cat $i | 9p write -l factotum/ctl
}
case [xXqQ]* case [xXqQ]*
exit exit
case [nN]* * case [nN]* *