[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: script to run on startup



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 /etc/init.d/local

4.
Next, link the new local file by running:

 update-rc.d local defaults 80

Have fun,
Flori




Reply to: