From mboxrd@z Thu Jan 1 00:00:00 1970 From: matt Message-ID: <165141468801.20010514131328@proweb.co.uk> To: 9fans <9fans@cse.psu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [9fans] Script review please Date: Mon, 14 May 2001 13:13:28 +0100 Topicbox-Message-UUID: 9f88ecc8-eac9-11e9-9e20-41e7f4b1d025 Hello 9fans, I'm using ftpfs to log into my work ftp it kicks me off after a while and ftpfs -k doesn't work for me. I've written a script to keep the connection open which I call with my login script so that it stays logged in while I'm logged in. ftpfs -m /usr/matt/bc ip.addr.ess { while (test -r /proc/$pid) { # use date so the cache doesn't interfere echo `{date} > /usr/matt/bc/thedate sleep 50 } rm /usr/matt/bc/thedate unmount /usr/matt/bc } & any criticisms, comments or better ways of doing it? -- matt mailto:matt@proweb.co.uk