Hi list

In the continuing story of my pet project "Blinder" to control my blinds
from a Bering box:

I'm getting very close now. :)
So close that I hope to wake up to an artificial sunrise before the 
weekend...

So close, in fact, that I'm beginning to start thinking about making a 
.lrp out of it. But before I do that I would like to get some advice on
where the different parts belong in the filesystem.

As it is most of the scripts/C-executables live in a subdir to
/usr/local/bin. One thing is that I would like to be FHS-compliant, but
mainly I want my stuff to be in the 'correct' places wrt LEAF/Bering.
And as I have absolutely no experience in these matters, I'm clueless
both wrt the FHS *and* common programming practise. :-P

The parts involved are:
Scripts (The 'main' constituents. Called by cron as needed, plus various
support functions.)
C-executables (handle actual I/O to the parport)
Data files
Config files

And ones that are more or less self evident (wrt to placement in the
FS):
Temp files
Cgi-scripts
html (well, actually almost everything is cgi, and I think I'm gonna
kill the last of the html too)

Questions involve (but aren't limited to ;)
- Where do the 'programs' go? (this is my primary concern)
- Am I 'allowed' (or even encouraged) to put stuff in /etc ?
- Where does one keep app-specific data?
- Where does the stuff definitely *not* go?

You get the point...

I'm pretty unsure of the above, as this my first stab at building
anything this complex. I wish I'd asked about this before, so I wouldn't
have to move stuff around, but fortunately I've been smart enough to put
most of the paths in variables, so at least they're easily changed...
8-)

The actual building of the .lrp, seems pretty well covered in the
documentation, so this is more about getting my stuff straight before
that bit :)

Feedback, pointers etc welcome and appreciated!

greets, and TIA

Jon Clausen

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to