Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Suse 10.1, Start program on boot
Results 1 to 4 of 4

Thread: Suse 10.1, Start program on boot

  1. #1

    Suse 10.1, Start program on boot

    I recently upgraded a server to Suse 10.1, in order to have RPM compatibility AND Wake on LAN... I was wondering... How would I set a program to start on boot (or runlevel 3ish)? My RAID monitoring software needs to be started before it is useful, and I don't want to have to start it over my SSH connection every time... Thanks in advance!
    Asus A8V Deluxe Mobo
    AMD Athlon64 X2 4400 -939
    2GB Crucial DDR3200 Dual-Channel
    ATi AiW 9800 Pro 128DDR
    Audigy2 ZS
    Sony DRU-810 DVD+RW DL
    3 x Maxtor MaxLine SATA 160Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 300Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 120Gb 16Mb Cache

  2. #2
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935
    Create the script to start in /etc/rc3.d/ for run level 3.

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    - The truely community run Linux/Floss forum !

    No IT BS !!

  3. #3
    So, I would just need to make a file, have one line in it stating the program name (it is in my PATH), make the file executable, and put it in the /etc/rc.d/rc3.d/ directory? If I also wanted it to run in runlevel 5, would I also need to copy the file to rc5.d, or do you think symbolically linking it would work?
    Asus A8V Deluxe Mobo
    AMD Athlon64 X2 4400 -939
    2GB Crucial DDR3200 Dual-Channel
    ATi AiW 9800 Pro 128DDR
    Audigy2 ZS
    Sony DRU-810 DVD+RW DL
    3 x Maxtor MaxLine SATA 160Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 300Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 120Gb 16Mb Cache

  4. #4
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935
    Take a look at a few samples there and you will see ...

    YOu also need to give it a shell (sh or bash or whatever). And then put the order in. S stands for start, K stands for Kill, number like 01, 91 or whatever, then your file name. You want the number higher than your other things but later than networking module. So on and so forth.

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    - The truely community run Linux/Floss forum !

    No IT BS !!

Similar Threads

  1. start a program as service during boot
    By OceanSurf in forum Linux - General Topics
    Replies: 6
    Last Post: 08-31-2004, 02:03 PM
  2. How Do I start GUI Based Service during Linux boot process
    By uday in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 07-22-2004, 02:40 PM
  3. Linux Boot and SuSE trouble
    By Lixus Looser in forum Linux - General Topics
    Replies: 37
    Last Post: 02-23-2004, 07:59 PM
  4. Tri Boot Windows/Fedora/SuSE... possible? Bad idea?
    By Lixus Looser in forum Linux - General Topics
    Replies: 13
    Last Post: 02-17-2004, 05:27 AM
  5. default mail program to start when clicking on a mail link
    By bobblebob in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 04-19-2003, 06:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •