On Sat, 09 Feb 2008 18:22:39 +
Matthew Seaman <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> RW wrote:
> > On Thu, 7 Feb 2008 19:19:48 +0530
> > "navneet Upadhyay" <[EMAIL PROTECTED]> wrote:
> >
> >> Hi,
> >> After putting my script to /etc/rc.d , it
Matthew Seaman wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
RW wrote:
On Thu, 7 Feb 2008 19:19:48 +0530
"navneet Upadhyay" <[EMAIL PROTECTED]> wrote:
Hi,
After putting my script to /etc/rc.d , it gets executed at
startup and the parameter passed to the script is *faststart .*
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
RW wrote:
> On Thu, 7 Feb 2008 19:19:48 +0530
> "navneet Upadhyay" <[EMAIL PROTECTED]> wrote:
>
>> Hi,
>> After putting my script to /etc/rc.d , it gets executed at
>> startup and the parameter passed to the script is *faststart .*
>> *I want
On Thu, 7 Feb 2008 19:19:48 +0530
"navneet Upadhyay" <[EMAIL PROTECTED]> wrote:
> Hi,
> After putting my script to /etc/rc.d , it gets executed at
> startup and the parameter passed to the script is *faststart .*
> *I want the same script to be executed when system shuts down , how
> can i d
Hi,
After putting my script to /etc/rc.d , it gets executed at startup and
the parameter passed to the script is *faststart .*
*I want the same script to be executed when system shuts down , how can i do
that.*
**
*i want to do something like this in script :- *
**
*if [$1 = "faststart"]; the
RW wrote:
> On Wed, 06 Feb 2008 15:55:12 +0100
> Ivan Voras <[EMAIL PROTECTED]> wrote:
>
>
>> I've seen some complicated examples on this thread, and want to
>> suggest a simple one:
>>
>> 1. create a regular shell script in /etc/rc.d, n
>> ..
>> A more semantically pure example (and the one that
On Wed, 06 Feb 2008 15:55:12 +0100
Ivan Voras <[EMAIL PROTECTED]> wrote:
> I've seen some complicated examples on this thread, and want to
> suggest a simple one:
>
> 1. create a regular shell script in /etc/rc.d, n
>..
> A more semantically pure example (and the one that's preferred if your
> s
On Wed, 6 Feb 2008 18:52:26 +0100
"Ivan Voras" <[EMAIL PROTECTED]> wrote:
> On 06/02/2008, Wojciech Puchar <[EMAIL PROTECTED]> wrote:
> > > (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 did
navneet Upadhyay wrote:
Hi,
I have a script file, i want that script to be executed on system
startup.
I am doing this on Linux in following two steps : -
1. Copying the script to /etc/rc.d directory.
2. /sbin/chkconfig --add "scriptname"
I want to achieve the same on FreeBSD
chckconf
On 06/02/2008, Wojciech Puchar <[EMAIL PROTECTED]> wrote:
> > (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 f
--On Wednesday, February 06, 2008 17:46:40 +0100 Wojciech Puchar
<[EMAIL PROTECTED]> wrote:
No, don't add anything to rc.local.
no because of?
Because rc.local is the legacy, deprecated method of handling local scripts,
per man (8) rc.
"Typically, the /usr/local/etc/rc.d/ mechanism is
On Wed, Feb 06, 2008 at 05:46:40PM +0100, Wojciech Puchar wrote:
> >
> >No, don't add anything to rc.local.
>
> no because of?
>
Quote from man rc
Typically, the
/usr/local/etc/rc.d/ mechanism is used instead of rc.local these days but
if you want to u
Wojciech Puchar wrote:
No, don't add anything to rc.local.
no because of?
The manual page.
The rc.local script contains com-
mands which are pertinent only to a specific site. Typically, the
/usr/local/etc/rc.d/ mechanism is used instead of rc.local these
days but
i
2008/2/6, Wojciech Puchar <[EMAIL PROTECTED]>:
> >
> > No, don't add anything to rc.local.
>
> no because of?
because usrland should be executed from /usr/local/etc/rc.d/ as far as I know.
ZS
___
freebsd-questions@freebsd.org mailing list
http://lists.f
No, don't add anything to rc.local.
no because of?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Hello,
2008/2/6, Jerry McAllister <[EMAIL PROTECTED]>:
> On Wed, Feb 06, 2008 at 04:39:40PM +0100, Zbigniew Szalbot wrote:
>
> > Hello,
> >
> > 2008/2/6, Wojciech Puchar <[EMAIL PROTECTED]>:
> > > > (for example: "/etc/rc.d/myscript")
> > > > 2. chmod a+x the script
> > > > 3. you're done.
> > > >
On Wed, Feb 06, 2008 at 04:39:40PM +0100, Zbigniew Szalbot wrote:
> Hello,
>
> 2008/2/6, Wojciech Puchar <[EMAIL PROTECTED]>:
> > > (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
On Wed, Feb 06, 2008 at 03:29:14PM +0100, Wojciech Puchar wrote:
> > I have a script file, i want that script to be executed on system
> >startup.
> >
> >I am doing this on Linux in following two steps : -
> >
> >1. Copying the script to /etc/rc.d directory.
> >2. /sbin/chkconfig --add "script
On Wed, Feb 06, 2008 at 03:22:26PM +0100, Pietro Cerutti wrote:
> navneet Upadhyay wrote:
> > Hi,
>
> Hello,
>
> > I have a script file, i want that script to be executed on system
> > startup.
> >
> > I am doing this on Linux in following two steps : -
> >
> > 1. Copying the script to
Hello,
2008/2/6, Wojciech Puchar <[EMAIL PROTECTED]>:
> > (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
(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
Ivan Voras wrote:
> An advanced feature ...
I'd like to add some more info on the subject: the rc.d script mechanism
is extremely powerful and you can do many things with it, if you need
them. Scripts are passed arguments like "start" and "stop" which you
might want to handle (though "stop" is ha
navneet Upadhyay wrote:
> Hi,
> I have a script file, i want that script to be executed on system
> startup.
>
> I am doing this on Linux in following two steps : -
>
> 1. Copying the script to /etc/rc.d directory.
> 2. /sbin/chkconfig --add "scriptname"
>
>
> I want to achieve the same
At 08:33 AM 2/6/2008, navneet Upadhyay wrote:
i dont want to go with the rename option, as if tomorrow i want to add
more scripts to run at startup i will be in a mess.
I will tell in detail so that it would be easy for you to understand my
problem :-
Intention is that the script file should
i dont want to go with the rename option, as if tomorrow i want to add more
scripts to run at startup i will be in a mess.
I will tell in detail so that it would be easy for you to understand my
problem :-
Intention is that the script file should be called at both startup and
shutdown.
In Linux
I have a script file, i want that script to be executed on system
startup.
I am doing this on Linux in following two steps : -
1. Copying the script to /etc/rc.d directory.
2. /sbin/chkconfig --add "scriptname"
I want to achieve the same on FreeBSD
chckconfig file is not present, documen
At 08:09 AM 2/6/2008, navneet Upadhyay wrote:
Hi,
I have a script file, i want that script to be executed on system
startup.
I am doing this on Linux in following two steps : -
1. Copying the script to /etc/rc.d directory.
2. /sbin/chkconfig --add "scriptname"
I want to achieve the sam
navneet Upadhyay wrote:
> Hi,
Hello,
> I have a script file, i want that script to be executed on system
> startup.
>
> I am doing this on Linux in following two steps : -
>
> 1. Copying the script to /etc/rc.d directory.
> 2. /sbin/chkconfig --add "scriptname"
>
>
> I want to achieve
28 matches
Mail list logo