From 8da6bca8074977c0fd1105ca4da2d5fb225b3ec4 Mon Sep 17 00:00:00 2001 From: rsc Date: Mon, 14 Feb 2005 16:11:58 +0000 Subject: do not use /mnt/factotum --- bin/ipso | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bin/ipso') diff --git a/bin/ipso b/bin/ipso index 8c756a0f..59e316a5 100755 --- a/bin/ipso +++ b/bin/ipso @@ -65,7 +65,7 @@ if(~ $flush no && ~ $edit no && ~ $load no){ if(~ $flush yes && ~ $edit no && ~ $load no){ echo flushing old keys - echo delkey > /mnt/factotum/ctl + echo delkey | 9p write factotum/ctl exit 0 } @@ -146,8 +146,9 @@ for(i in `{editedfiles}){ exit password } echo ''''$i'''' copied to $name - if(~ $i factotum) - read -m < $i > /mnt/factotum/ctl + if(~ $i factotum && ! ~ $load yes){ # do not do it twice + cat $i | 9p write -l factotum/ctl + } case [xXqQ]* exit case [nN]* * -- cgit v1.2.3