Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 19415

Summary: Extending oftpd init script configuration options.
Product: Gentoo Linux Reporter: James Michael Fultz <croooow>
Component: Current packagesAssignee: Jeremy Huddleston (RETIRED) <eradicator>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: diff for my changed oftpd init script
Config file for /etc/init.d/oftpd
changes the oftpd init script so that all options, including new ones, are set via `/etc/conf.d/oftpd'
example `/etc/conf.d/oftpd'

Description James Michael Fultz 2003-04-16 07:33:26 UTC
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.
Comment 1 James Michael Fultz 2003-04-16 07:38:35 UTC
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?
Comment 2 James Michael Fultz 2003-04-16 07:40:44 UTC
Created attachment 10732 [details]
Config file for /etc/init.d/oftpd
Comment 3 James Michael Fultz 2003-04-16 07:43:47 UTC
Oops!  I meant `FTPROOT' rather than `FTPHOME' in my Additional Comment #1.  Sorry for the confusion.
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-04-17 06:35:38 UTC
please try to get all config options into one file, whos located in /etc/conf.d/oftpd
Comment 5 James Michael Fultz 2003-04-17 17:46:41 UTC
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'.
Comment 6 James Michael Fultz 2003-04-17 17:50:06 UTC
Created attachment 10798 [details]
example `/etc/conf.d/oftpd'

This is a new `/etc/conf.d/oftpd' which includes all options for oftpd.
Comment 7 Jeremy Huddleston (RETIRED) gentoo-dev 2005-10-16 14:30:29 UTC
this support is in oftpd, and this bug should've been closed a while ago...