Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Feb 2008 16:39:40 +0100
From:      "Zbigniew Szalbot" <zszalbot@gmail.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: script to be executed on system startup.
Message-ID:  <94136a2c0802060739l4cd1b290wc720339737079bb1@mail.gmail.com>
In-Reply-To: <20080206163423.E4029@wojtek.tensor.gdynia.pl>
References:  <1563a4fd0802060609j59451879h3920be790d7667c0@mail.gmail.com> <fochm5$gre$1@ger.gmane.org> <20080206163423.E4029@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

2008/2/6, Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>:
> > (for example: "/etc/rc.d/myscript")
> > 2. chmod a+x the script
> > 3. you're done.
> >
> > This will work for the recent versions of FreeBSD (you didn't say for
> > which version do you need it).
>
> you need to make that script react for "start" and "stop" commands at
> least

I just symlinked my sh script to /usr/local/etc/rc.d/ and it works
quite well without even touching rc.conf.

HTH

Zbigniew Szalbot



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?94136a2c0802060739l4cd1b290wc720339737079bb1>