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

Re: [PROPOSAL] Directories for local initialization scripts



On Fri, Sep 03, 1999 at 01:10:44PM -0300, Julio wrote:
> Given the comments on my proposal, I'm rewriting it to the following:
> 
> 1. to provide support for separation of local initialization scripts,
> allow update-rc.d to handle subdirectories. So, a /etc/init.d/local (or
> whatever) dir could be created and a script within this dir could be
> linked to rc?.d with 'update-rc.d local/99ascript defaults'.
> 
> 2. to let regular users have init scripts, allow ~/.rc.d directories
> (to be run after all the system initialization for the active users in
> the passwd database)

I can almost see the need for part 1, but how is part 2 any different or
better than using the (regrettably undocumented, but that's a bug in cron,
not policy) @reboot feature of cron?  I use this to start fetchmail on my
PC at boot, with the crontab line:
  @reboot /usr/bin/fetchmail -d 45
It works fine.

-- Nathaniel


Reply to: