Re: [expert] Startup Script

2003-09-17 Thread jipe
On Mon, 15 Sep 2003 20:21:13 -0400 Gonzalo Avaria [EMAIL PROTECTED] wrote: Hi experts I have a little question, i would like to have a script on the startup (could be init.d) that should do two command lines: /sbin/ifconfig eth0 | fgrep -i inet | cut -d : -f 2 | cut -d \ -f 1 ipnumero

[expert] Startup Script

2003-09-15 Thread Gonzalo Avaria
Hi experts I have a little question, i would like to have a script on the startup (could be init.d) that should do two command lines: /sbin/ifconfig eth0 | fgrep -i inet | cut -d : -f 2 | cut -d \ -f 1 ipnumero mail -s IP Number [EMAIL PROTECTED] ipnumero I donĀ“t know how to do a script,

[expert] startup script

2003-06-06 Thread Norman Zhang
Hi, I have vendor program at /opt/CA/uagent/uagent with symlink from /usr/lib/uagent. I would like to run this program after boot. So I created /etc/rc.d/init.d/uagent. When I tried chkconfig --add uagent. I get Service uagent does not support chkconfig. Would someone please give me a few

Re: [expert] startup script

2003-06-06 Thread PlugHead
I think you also need a description: line, after the chkconfig: line. -Jason On Friday 06 June 2003 07:18 pm, Norman Zhang wrote: Hi, I have vendor program at /opt/CA/uagent/uagent with symlink from /usr/lib/uagent. I would like to run this program after boot. So I created

Re: [expert] startup script

2003-06-06 Thread James Sparenberg
On Fri, 2003-06-06 at 16:18, Norman Zhang wrote: Hi, I have vendor program at /opt/CA/uagent/uagent with symlink from /usr/lib/uagent. I would like to run this program after boot. So I created /etc/rc.d/init.d/uagent. When I tried chkconfig --add uagent. I get Service uagent does not

Re: [expert] Startup script selection at boot time - Anyone?

2000-12-07 Thread Buchan Milne
Viktor Lakics wrote: Dear all, I want to run two different scripts at boot time depending on the lilo configuration. Eg.: If lilo entry A is selected, I want to run script A automaticaly. This script would set up several things, and I want linux to boot into initlevel 3 . If you

[expert] Startup script selection at boot time - Anyone?

2000-12-06 Thread Viktor Lakics
Dear all, I want to run two different scripts at boot time depending on the lilo configuration. Eg.: If lilo entry A is selected, I want to run script A automaticaly. This script would set up several things, and I want linux to boot into initlevel 3 . On the other hand, if entry B is