#!/bin/sh # modify /etc/config/start so it copies this # script from /etc/config to /var/httpd # (don't forget to chmod +x the file) # use .txt extension so it it shows FTP results # in a browser echo -ne 'Content-type: text/plain\r\n\r\n' /bin/ftpscript /etc/config/ftp0.scr