[ previous ] [ next ] [ threads ]
 From:  Michael Mee <mm2001 at pobox dot com>
 To:  Alex M <radiussupport at lrcommunications dot net>
 Cc:  'Mono Dev List' <m0n0wall dash dev at lists dot m0n0 dot ch>
 Subject:  Re: [m0n0wall-dev] accessing mono via SFTP
 Date:  Wed, 13 Sep 2006 15:55:14 -0700
Alex M wrote:
> Ok it seams that exec.php can give me what I want. But:
> 1. How do I remount the image?
Not sure. I think the steps are: 1) mount the CF r/w, 2) cp the changed 
files, 3) unmount the CF, but I've forgotten the exact details, plus of 
course the device names will depend on which box you're working with.

> 2. How do I select where to download the file? (Like I want to replace
> current CP index.php with my custom file)
Exec.php copies it to some location (/tmp ?) and then you do another 
exec.php command, similar to 'cp /tmp/index.php /usr/local/www'.

Last time I did this I spent a bunch of time messing with 'echo *' and 
'echo */*' and 'echo */*/*' until I worked out where everything was.

Hope this helps...

cheers, michael