[sane-devel] how to make saned start with redhat 7.1's init?

Ka Chun, Cheng kccheng@glink.net.hk
Sun, 28 Oct 2001 13:21:08 +0800


This is a multi-part message in MIME format.

------=_NextPart_000_003C_01C15FB3.67E61080
Content-Type: text/plain;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

hi there,
  I'm a linux newbie, and managed to make sane 1.0.5 work with my =
machine.=20

if I start saned -d
and start win xsane in my windoze, I can scan correctly, but saned exit =
after I close the xsane. so far so good.

now I want to make it start up everytime when I boot, and last forever.

I'm using redhat linux 7.1, seems the FAQ only cover 7.0. the interface =
looks different

I did put this line to my /etc/services
sane 6566/tcp # SANE network scanner daemon

I did create the user saned
I put a sane start up code in=20

/etc/init.d/sane
which contain only 1 line.
/usr/local/sbin/saned

sane show up in kde's SysInitV editor, but starting the service doesn't =
work.

------=_NextPart_000_003C_01C15FB3.67E61080
Content-Type: text/html;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>hi there,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp; I'm a linux newbie, and managed =
to make sane=20
1.0.5 work with my machine. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>if I start saned -d</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>and start win xsane in my windoze, I =
can scan=20
correctly, but saned exit after I close the xsane. so far so =
good.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>now I want to make it&nbsp;start up =
everytime when=20
I boot, and last forever.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm using redhat linux 7.1, seems the =
FAQ only=20
cover 7.0. the interface looks different</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I did put this line to my=20
/etc/services</FONT></DIV>
<DIV>sane 6566/tcp # SANE network scanner daemon<BR></DIV>
<DIV><FONT face=3DArial size=3D2>I did create the user =
saned</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I put a sane start up code in =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>/etc/init.d/sane</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>which contain&nbsp;only 1 =
line.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>/usr/local/sbin/saned<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>sane show up in kde's SysInitV editor, =
but starting=20
the service doesn't work.</DIV></FONT></BODY></HTML>

------=_NextPart_000_003C_01C15FB3.67E61080--