On Mondayen den 17 December 2001 19.00, Fabrice FACORAT wrote:
> le lun 17-12-2001 à 18:30, Oden Eriksson a écrit :
> > On Fridayen den 14 December 2001 15.48, Chmouel Boudjnah wrote:
> > > Oden Eriksson <[EMAIL PROTECTED]> writes:
> > > > On Fridayen den 14 December 2001 13.24, Sebastian Dransfeld wrote:
> > > > > On Fri, 14 Dec 2001, Salane wrote:
> > > > > > So it still doesnt work
> > > > >
> > > > > But 'service' is used to start standalone programs. To start
> > > > > xinetd-programs you must activate them and restart xinetd.
> > > >
> > > > Exactly, this is not very obvious for the newbie. There should be
> > > > something reloading (x)inetd when the affected services are
> > > > activated/inactivated.
> > > >
> > > > Otherwise you will continue to see this kind of questions.
> > >
> > > ok i checked that for service in cvs :
> >
> > [snip]
> >
> > Hmm..., could this be implemented in "ntsysv" to? Sort of the way
> > linuxconf handles this?
> >
> > BTW. What does all these double "[[" and "]]" do?, it's new to me.
>
> man bash
>
> if [[ ! -f ${servicedir}/${serv} ]];then
>
> if file ${servicedir}/${serv} doesn't exist then

Yes, but I usally only do:

if [ ! -f ${servicedir}/${serv} ];then

So what's the difference?

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Oden Eriksson, Deserve-IT Networks, Jokkmokk, Sweden.
| Mandrake Linux release 8.1 (Vitamin) for i586
| Current uptime with kernel 2.4.8-26mdksmp:1:37
| cpu0 @ 799.53 bm, fan 4218 rpm, temp +29.0°C
| cpu1 @ 801.17 bm, fan 4530 rpm, temp +32°C

Reply via email to