[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Proper place to put a bootup script



On Wednesday 29 December 1999, at 0 h 55, the keyboard of Jonathan Hall 
<jonhall@futureks.net> wrote:

> I'm preparing a Debian package for portslave, 

Good idea!

> Well, there's nothing this script does to actually START or STOP anything,
> and there's nothing to RELOAD or RESTART... It simply changes contents of
> /var/log/radsession.id.

I would say: implement "start" or "restart" to change the radsession.id. 
Implement "stop" to do nothing at all.

> Where is the proper place to put this init script?

/etc/init.d seems fine to me.

> Also... on a related note, where would the the proper place to put the
> radsession.id file?  I'm thinking /var/log doesn't seem right.  Would it
> make sense to create /var/portslave or keep that file in /var/run or
> something?

Definitely /var/run.



Reply to: