Re: [CentOS] Launch many scripts with reboot

2010-02-22 Thread Georghy
John Doe a écrit : From: Georghy fu...@wanagain.net your command works, but I want to watch the script running, in order to view errors, so I figured out that I have to launch the script after the user is connected thanks to .bachrc do you know how to do that ? Redirect stderr to

Re: [CentOS] Launch many scripts with reboot

2010-02-22 Thread Georghy
John Doe a écrit : From: Georghy fu...@wanagain.net for now i want to display the computer IP adress just before the user login but I want to display it before the user logon do you know how to do this ? check /etc/issue, but you might have to generate it on the fly with the IP

Re: [CentOS] Launch many scripts with reboot

2010-02-22 Thread Georghy
Les Mikesell a écrit : On 2/11/2010 9:56 AM, Georghy wrote: Les Mikesell a écrit : Georghy wrote: Do these need to run as root? And do they really need to wait for a user to log in or can they write their output to a file to be viewed later? You can put a line in

Re: [CentOS] Launch many scripts with reboot

2010-02-22 Thread Georghy
Georghy a écrit : John Doe a écrit : From: Georghy fu...@wanagain.net for now i want to display the computer IP adress just before the user login but I want to display it before the user logon do you know how to do this ? check /etc/issue, but you might have to

[CentOS] Launch many scripts with reboot

2010-02-11 Thread Georghy
I everyone, I want to know how can I launch many script with reboot beetween each script ie : I launch script1 at start up then the system reboot and launch script2 then ... Thanks for all your answers -- Cordialement, / Greetings, Georghy FUSCO ___

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread John Doe
From: Georghy fu...@wanagain.net I want to know how can I launch many script with reboot beetween each script ie : I launch script1 at start up then the system reboot and launch script2 then ... Simple way would be to have a script that reads a file with a script on each line. If the file is

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread Rudi Ahlers
On Thu, Feb 11, 2010 at 12:13 PM, Georghy fu...@wanagain.net wrote: I everyone, I want to know how can I launch many script with reboot beetween each script ie : I launch script1 at start up then the system reboot and launch script2 then ... Thanks for all your answers -- Cordialement, /

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread Georghy
John Doe a écrit : From: Georghy fu...@wanagain.net I want to know how can I launch many script with reboot beetween each script ie : I launch script1 at start up then the system reboot and launch script2 then ... Simple way would be to have a script that reads a file with a

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread Georghy
Rudi Ahlers a écrit : On Thu, Feb 11, 2010 at 12:13 PM, Georghy fu...@wanagain.net mailto:fu...@wanagain.net wrote: I everyone, I want to know how can I launch many script with reboot beetween each script ie : I launch script1 at start up then the system reboot and launch

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread Kai Schaetzl
Georghy wrote on Thu, 11 Feb 2010 11:13:10 +0100: I want to know how can I launch many script with reboot beetween each script ie : I launch script1 at start up then the system reboot and launch script2 then ... Why would you want to do this? One way would be to use a reboot counter, another

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread Georghy
Georghy a écrit : Rudi Ahlers a écrit : On Thu, Feb 11, 2010 at 12:13 PM, Georghy fu...@wanagain.net mailto:fu...@wanagain.net wrote: I everyone, I want to know how can I launch many script with reboot beetween each script ie : I launch script1 at start up then the

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread Georghy
Kai Schaetzl a écrit : Georghy wrote on Thu, 11 Feb 2010 11:13:10 +0100: I want to know how can I launch many script with reboot beetween each script ie : I launch script1 at start up then the system reboot and launch script2 then ... Why would you want to do this? One way would

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread Alexander Dalloz
I'm using script to configure a computer to my attempts, but I want to automatize that work. I'm using different scripts to configure different things and after these scripts I'm forced to reboot in order to use the new parameters -- Cordialement, / Greetings, Georghy FUSCO Running Linux

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread Rajagopal Swaminathan
On Thu, Feb 11, 2010 at 6:34 PM, Alexander Dalloz ad+li...@uni-x.org wrote: Running Linux you don't have to reboot, unless you want to switch the running kernel. with ksplice even that is not needed Regards, Rajagopal ___ CentOS mailing list

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread Georghy
Alexander Dalloz a écrit : I'm using script to configure a computer to my attempts, but I want to automatize that work. I'm using different scripts to configure different things and after these scripts I'm forced to reboot in order to use the new parameters -- Cordialement, / Greetings,

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread Kai Schaetzl
Georghy wrote on Thu, 11 Feb 2010 12:42:21 +0100: I'm using different scripts to configure different things and after these scripts I'm forced to reboot in order to use the new parameters It's quite uncommon that you have to reboot for that. Especially going by your quote many. Kai -- Get

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread Georghy
Kai Schaetzl a écrit : Georghy wrote on Thu, 11 Feb 2010 12:42:21 +0100: I'm using different scripts to configure different things and after these scripts I'm forced to reboot in order to use the new parameters It's quite uncommon that you have to reboot for that. Especially going

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread Les Mikesell
Georghy wrote: Kai Schaetzl a écrit : Georghy wrote on Thu, 11 Feb 2010 12:42:21 +0100: I'm using different scripts to configure different things and after these scripts I'm forced to reboot in order to use the new parameters It's quite uncommon that you have to reboot for that.

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread Georghy
Les Mikesell a écrit : Georghy wrote: Kai Schaetzl a écrit : Georghy wrote on Thu, 11 Feb 2010 12:42:21 +0100: I'm using different scripts to configure different things and after these scripts I'm forced to reboot in order to use the new parameters

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread Les Mikesell
Georghy wrote: Do these need to run as root? And do they really need to wait for a user to log in or can they write their output to a file to be viewed later? You can put a line in /etc/rc.d/rc.local to run your script which you can change each time as you want. And you can add

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread Georghy
Les Mikesell a écrit : Georghy wrote: Do these need to run as root? And do they really need to wait for a user to log in or can they write their output to a file to be viewed later? You can put a line in /etc/rc.d/rc.local to run your script which you can change each time as

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread Georghy
John Doe a écrit : From: Georghy fu...@wanagain.net Running Linux you don't have to reboot, unless you want to switch the running kernel. Can you be more specific about what exactly is customized and forces a reboot? I can't talk about this in detail, this is an intern process.

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread John Doe
From: Georghy fu...@wanagain.net for now i want to display the computer IP adress just before the user login but I want to display it before the user logon do you know how to do this ? check /etc/issue, but you might have to generate it on the fly with the IP hardcoded in it since it is not

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread John Doe
From: Georghy fu...@wanagain.net your command works, but I want to watch the script running, in order to view errors, so I figured out that I have to launch the script after the user is connected thanks to .bachrc do you know how to do that ? Redirect stderr to a file? JD

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread Les Mikesell
On 2/11/2010 9:56 AM, Georghy wrote: Les Mikesell a écrit : Georghy wrote: Do these need to run as root? And do they really need to wait for a user to log in or can they write their output to a file to be viewed later? You can put a line in /etc/rc.d/rc.local to run your script which

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread Santi Saez
El 11/02/10 14:08, Rajagopal Swaminathan escribió: On Thu, Feb 11, 2010 at 6:34 PM, Alexander Dallozad+li...@uni-x.org wrote: Running Linux you don't have to reboot, unless you want to switch the running kernel. with ksplice even that is not needed Anyone has tried ksplice on CentOS?