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 do that.*
-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 the same
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 .*
*I
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 gets executed at
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's preferred if
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
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
chckconfig file is not present
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 the same
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 same
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
and if it is stop i gracefully exit from my executables.
I want to achie same thing in FreeBSD.
Thanks,
Navneet
On 2/6/08, Derek Ragona [EMAIL PROTECTED] wrote:
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
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
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
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 handled
(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
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 start and stop
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 /etc/rc.d
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 scriptname
I
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 for
which version
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.
This will work for the
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]
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
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
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 use
--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 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 for start and stop
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
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 didn't say
for which
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
script
29 matches
Mail list logo