Re: [CentOS] Launch many scripts with reboot

2010-02-22 Thread Georghy
Georghy a écrit : > John Doe a écrit : > >> From: Georghy >> >> >>> 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

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?

Re: [CentOS] Launch many scripts with reboot

2010-02-22 Thread Georghy
John Doe a écrit : > From: Georghy > >> 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 > hardcod

Re: [CentOS] Launch many scripts with reboot

2010-02-22 Thread Georghy
John Doe a écrit : > From: Georghy > >> 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

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 Dalloz 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? Regards, -- S

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

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread John Doe
From: Georghy > 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 John Doe
From: Georghy > 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 in the available

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread Georghy
John Doe a écrit : > From: Georghy > >>> 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 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 eac

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread John Doe
From: Georghy > > 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. I bet it is a windows update clone for l

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

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 parame

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 r

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. Especi

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 --

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, / G

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread Rajagopal Swaminathan
On Thu, Feb 11, 2010 at 6:34 PM, Alexander Dalloz 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 CentOS@centos.org http

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 Runnin

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? >

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 > > 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

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, anoth

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 > 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 > scr

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread Georghy
John Doe a écrit : > From: Georghy > >> 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 ea

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread Rudi Ahlers
On Thu, Feb 11, 2010 at 12:13 PM, Georghy 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, / Greetings

Re: [CentOS] Launch many scripts with reboot

2010-02-11 Thread John Doe
From: Georghy > 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 not empty, it w