LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-24-2004, 11:19 AM   #1
prowlerxpla
Member
 
Registered: Aug 2003
Location: latina (italy)
Distribution: suse 9.1 & mdk 10.0
Posts: 30

Rep: Reputation: 0
/etc/rc.local on suse 9.1


ciao
well I installed hylafax and i would like to start the services automatically, i found some instruction in the web and it says:
is possible to configure the system for automatic starting of services:
a) with root privileges edit the file /etc/rc.local adding usr/local/sbin/hylafax start and usr/local/sbin/faxmodem ttyS0 (i found them in /usr/sbin)

b) edit the file /etc/inittab and insert
S0:2345:respawn:/usr/sbin/faxgetty ttyS0

i cannot find /etc/rc.local , where i have to add this commands??

ciao e grazie
many thanks
pierluigi
 
Old 11-24-2004, 03:05 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"i cannot find /etc/rc.local , where i have to add this commands??"

How you start services automatically is distribution dependent. The instructions that you found on the web are for Red Hat. In your question you asked how to do it on SuSE 9.1. In your profile you state that you are using Mandrake 9.1. The answer that I give should work on SuSE 9.1.

Try adding the commands in /etc/init.d/boot.local. You should find some SuSE comments in /etc/init.d/boot.local

----------------------------
Steve Stites
 
Old 11-25-2004, 03:05 AM   #3
prowlerxpla
Member
 
Registered: Aug 2003
Location: latina (italy)
Distribution: suse 9.1 & mdk 10.0
Posts: 30

Original Poster
Rep: Reputation: 0
Talking

sorry to not update my profile ,
I passed to suse and use mdk for playng my child to potato man, he likes very much,
I read the comments of suse on /etc/init.d/boot.local and I will try this.
many thanks
ciao pierluigi
 
Old 11-25-2004, 05:22 AM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Just a SuSE hint: you could use Yast to configure the automatic start of hylafax (if you are not click-o-phobic ). Use Yast -> System -> Runlevel Editor in 'Expert Mode'
 
Old 11-25-2004, 06:52 AM   #5
prowlerxpla
Member
 
Registered: Aug 2003
Location: latina (italy)
Distribution: suse 9.1 & mdk 10.0
Posts: 30

Original Poster
Rep: Reputation: 0
thanks i'm not clik-o-phobic i succeed to start automatically hylafax using Yast -> System -> Runlevel Editor in 'Expert Mode' clicking on hylafax but i don't know if usr/local/sbin/faxmodem ttyS0 start too, how can i check this??
 
Old 11-25-2004, 10:25 AM   #6
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
You could check if it is running with 'ps ax | grep faxmodem' and if it doesn't, add the command to /etc/init.d/boot.local like jailbait suggested in post#2.
 
Old 11-25-2004, 12:58 PM   #7
takism
LQ Newbie
 
Registered: Aug 2003
Location: Greece
Posts: 2

Rep: Reputation: 0
hi
A small tip to create rc.local in SuSE
login as root
cd /etc/init.d
create a file called rc.local e.g pico rc.local

first line of rc.local should be
#! /bin/sh
next type your commands that you want to start after the os starts
save the file
type chmod +x rc.local
if you start the system in init5 type
cd rc5.d
ln -svf ../rc.local S99rc.local

the next time that you start your PC the rc.local will run automaticaly


if you start the system in text mode (init3)
change the rc5.d to rc3.d

Hope to help
takis
 
Old 11-29-2004, 08:13 AM   #8
prowlerxpla
Member
 
Registered: Aug 2003
Location: latina (italy)
Distribution: suse 9.1 & mdk 10.0
Posts: 30

Original Poster
Rep: Reputation: 0
thanks for help
ciao
pier
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SuSE 9.3-You can only select local files bmk SUSE / openSUSE 8 09-08-2005 05:08 PM
no rc.local in SuSe nbi SUSE / openSUSE 5 05-01-2005 06:19 AM
SuSe 9.2 Local Install punkerspaz SUSE / openSUSE 6 01-26-2005 08:03 PM
boot.local failed (suse 9.1) Big Money Linux - Software 10 08-06-2004 09:59 PM
rc.local in SuSE NetScripter Linux - General 3 09-20-2003 05:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration