SysVinit + lpd
Kokras Nikos
kokni at eexi.gr
Sat Feb 14 12:25:40 EET 1998
On 14-Feb-98 Stelios Xanthakis wrote:
> Sta scriptakia tou /etc/rc.d/init.d iparxi to eksis parakseno:
> Sto scriptaki gia to ksekinima tou lpd demona iparxi to
>
> [ ${NETWORKING} = "no" ] && exit 0;
>
> Alla ti sxesi mpori na exi to NETWORKING me ton lpd?
Apo to idio to /etc/rc.d/init.d/lpd (to path bebaia den symfwnei apolyta me
*nix flavors poy den xrhsimpoioun rc.d directory alla as mhn anoi3oume
syzhthsh gia to sys. initialization..):
# description: lpd is the print daemon required for lpr to work properly. \
# It is basically a server that arbitrates print jobs to printer(s).
Parakatw:
# See how we were called.
case "$1" in...
Ola auta shmainoyn oti sobara diktyaka leitourgika den antimetwpizoun ton
printer san "tsifliki" toys alla einai pro8yma na ton moirastoun me allous.
Epeidh den ginetai na exoume 2-3 "drivers" (bliaxx) gia ton printer analoga me
to an ka8e fora yparxei diktyo h oxi, bazoume (tropos tou legein, kapoioi
balane) ena demona na ton xeirizetai kai 3exname ta ypoloipa.Nomizw oti
katalabaineis thn sxesh daemons kai networking.
> Ektos apo afto, ean exo kani compile ton printer san Module,
> ine sosto na arxizo ton lpd? I prepi allios na na ftaxti
> scriptaki pou tha kani `insmod + start lpd` otan ine
> epithimito na gini kati tetoio?
xmm, edw prepei na koita3eis sta kernel automounter support, kerneld, autoclean
modules klp.
Alla, allo pragma to lp daemon (pou arxizei apo to rc.d/init.d) kai allo pragma
to module gia ton printer sou sthn parallhlh (kai pou afora to lp0-1-2).
To ena einai service pou parexei to systhma, kai to allo einai sygkekrimeno
module poy xreiazetai o kernel gia thn diaxeirish mias portas.
P.S. an kanw kapou la8os as me dior8wsei kapoios, giati me endiaferei
-akadhmaika- to 8ema
(gi'auto kai biastika na milhsw..)
-----------------------------------
Kokras Nikos <kokni at aurora.eexi.gr>
Date: 14-Feb-98 12:23:39 EET
Finger for more LongLiveLinux
-----------------------------------
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at argos.hol.gr
Ta archives tis listas einai sto http://www.argos.hol.gr/lists :
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================
More information about the Linux-greek-users
mailing list