oftpd's init script currently recognizes only the two required options for starting oftpd. However, it may be desirable to start oftpd with some of its other supported options.
Created attachment 10731 [details, diff] diff for my changed oftpd init script I've changed oftpd's init script so that it supports all of oftp'd relevant options. I configure these new option variables via `/etc/conf.d/oftpd'. Should `FTPUSER' and `FTPHOME' possibly be moved there also?
Created attachment 10732 [details] Config file for /etc/init.d/oftpd
Oops! I meant `FTPROOT' rather than `FTPHOME' in my Additional Comment #1. Sorry for the confusion.
please try to get all config options into one file, whos located in /etc/conf.d/oftpd
Created attachment 10797 [details, diff] changes the oftpd init script so that all options, including new ones, are set via `/etc/conf.d/oftpd' I've made a patch for the oftpd init script so that all options are set via `/etc/conf.d/oftpd'.
Created attachment 10798 [details] example `/etc/conf.d/oftpd' This is a new `/etc/conf.d/oftpd' which includes all options for oftpd.
this support is in oftpd, and this bug should've been closed a while ago...