LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Lisa startup on boot..(SuSE10.0 x86_64) (https://www.linuxquestions.org/questions/suse-opensuse-60/lisa-startup-on-boot-suse10-0-x86_64-a-413591/)

Monkey 9 02-09-2006 05:23 PM

Lisa startup on boot..(SuSE10.0 x86_64)
 
Hello everybody who reads this thread,

Does anyone know where to put the startup script?

Robhogg 02-09-2006 07:03 PM

Hi, M9.

By script, do you mean the command to start this at boot?

If so, then just add the command to the script /etc/init.d/boot.local. This script, which is empty when you first install SuSE, is intended to hold commands that are executed immediately after boot. I use it myself for starting mysql.

Rob

Monkey 9 02-10-2006 12:59 AM

Hi Rob,

Yes that is what is been said.
Though the dir does not exist.
Do I have to create it?
And also the path to lisa does not.
Code:

if [ -x /usr/local/bin/lisa ]; then
 echo "Starting LISa daemon..."
 /usr/local/bin/lisa
fi

Lisa's location might be found, and the pathname replaced, I guess...

Robhogg 02-10-2006 04:36 AM

Quote:

Originally Posted by Monkey 9
Hi Rob,

Yes that is what is been said.
Though the dir does not exist.
Do I have to create it?

Which directory doesn't exist? /etc/init.d is one of the main system directories, which exists in both of the verions of SuSE that I have installed (9.1 and 10), and boot.local is a shell script within that directory, which you can edit to add your own startup commands.

Quote:

And also the path to lisa does not.
According to this page, the command to start lisa is:

rclisa start

Monkey 9 02-10-2006 04:58 AM

/etc/init.d/ does, but then there is only /boot.d

rclisa start gives:

rclisa start
Het opgegeven commando kon niet worden uitgevoerd.

Robhogg 02-10-2006 05:08 AM

Ah... boot.local isn't a directory, it's a Shell Script file. Open it in a text editor, and add the command(s) to it. If it really doesn't exist, you could probably create it, but it exists in both of my installations.

Code:

> cd /etc/init.d
/etc/init.d> file boot.local
boot.local: Bourne shell script text

Quote:

rclisa start gives:

rclisa start
Het opgegeven commando kon niet worden uitgevoerd.
Sorry, ik begrijp het niet. ;)

Rob.

Monkey 9 02-10-2006 05:15 AM

Thnx, I will try this, be back later....


All times are GMT -5. The time now is 04:26 PM.