Re: script to run on startup

2005-08-03 Thread javier rojas
hey, that's definetly a better way to do it... thank you

RE: script to run on startup

2005-08-03 Thread Florian Dorpmueller
1. Make a file called /etc/init.d/local with a text editor. This file is a script so it should always start with the following line: #! /bin/sh 2. Add the following command to the file: mysql -u root --password=passwd syslog < /tmp/mysql.pipe 3. Make this file executable with: chmod +x /

Re: script to run on startup

2005-08-02 Thread Joe Smith
Yeah, I created /etc/init.d/local and put S99 slinks to it in rc2, 3, 4, and 5.d, copying some of the other startup scripts. Doesn't strike me as particularly elegant, and it's (probably) going to get wiped by Debian sometime in the future. But for the time being I have a /dev/tape without havin

Re: script to run on startup

2005-08-02 Thread Glenn English
On Tue, 2005-08-02 at 11:21 -0400, Gene Heskett wrote: > >> i need to run a script on startup, in mandrake i should add it to > >> /etc/locale, but i just installed debian 3.1 and i'm not sure > >I created a file in /etc/rc2.d called S99local and put the command > > in there. Its probably the wr

Re: script to run on startup

2005-08-02 Thread Gene Heskett
On Tuesday 02 August 2005 11:12, James Burke wrote: >On Tue, 2 Aug 2005 11:05:30 -0400 > >javier rojas <[EMAIL PROTECTED]> wrote: >> hello, >> >> i need to run a script on startup, in mandrake i should add it to >> /etc/locale, but i just installed debian 3.1 and i'm not sure >> where to put it, th

Re: script to run on startup

2005-08-02 Thread javier rojas
I created a file in /etc/rc2.d called S99local and put the command in there.  Its probably the wrong way todo it but it works.jejeje, "...Its probably the wrong way todo it but it works." that's what i like 'bout linux... thank you-- Ciao,Javierlinux user #393724

Re: script to run on startup

2005-08-02 Thread James Burke
On Tue, 2 Aug 2005 11:05:30 -0400 javier rojas <[EMAIL PROTECTED]> wrote: > hello, > > i need to run a script on startup, in mandrake i should add it to > /etc/locale, but i just installed debian 3.1 and i'm not sure where to put > it, this is the script: > > mysql -u root --password=passwd sy