Re: starting a custom daemon on boot
From: Kevin Nathan (knathan_at_project54.com)
Date: 09/27/04
- Next message: James Knott: "Re: starting a custom daemon on boot"
- Previous message: Matteo Ferrabone: "Re: Wine"
- In reply to: iksrazal: "starting a custom daemon on boot"
- Next in thread: James Knott: "Re: starting a custom daemon on boot"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 27 Sep 2004 09:47:17 -0700
On 27 Sep 2004 09:26:19 -0700
iksrazal@terra.com.br (iksrazal) wrote:
> So what I need is a simple file that on boot, can execute a line of
> code once.
One solution is:
/etc/init.d/boot.local
That might be too early in the boot cycle for some daemons (called
before entering the first run level). If that is true in your case, try
using:
/etc/profile.local
But the problem there is that it's run for every 'login'. To get between
these two extremes, check out (read carefully):
/etc/init.d/skeleton
and you can create your own startup script and let SUSE determine when
it should run (based on your entries in 'Required-Start:' and so on).
-- Kevin Nathan (Arizona, USA) Open standards. Open source. Open minds. The command line is the front line. Linux 2.4.20-4GB-athlon 9:41am up 2 days 23:45, 9 users, load average: 0.07, 0.04, 0.05
- Next message: James Knott: "Re: starting a custom daemon on boot"
- Previous message: Matteo Ferrabone: "Re: Wine"
- In reply to: iksrazal: "starting a custom daemon on boot"
- Next in thread: James Knott: "Re: starting a custom daemon on boot"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]