Hello

Isn't it something related to a bug I reported some months ago ?

Below my proposal for a correction on /usr/sbin/lrcfg.back script.

--
Christian - Grenoble



De: "Christian HOSTELET" <[EMAIL PROTECTED]>
Ŕ: "Eric Spakman" <[EMAIL PROTECTED]>
Cc: "Christian (Free) HOSTELET" <[EMAIL PROTECTED]>
Objet: Re: [leaf-user] LRCFG - bug ?
Date: mercredi 3 mars 2004 19:23

> > Hello,
> >
> >    I'm looking for the maintainer of the 'config.lrp' package (lrcfg
> > utility)...
> >    I've found a bug in lrcfg.back script (LEAF Bering uClibc 2.1) with
> > the
> > backup devices list's update.
> >    I would like to propose a correction.
> >
> > Regards,
> > --
> > Christian - Grenoble
> >
> Christian,
>
> I'm the maintainer of that package, please propose your correction.
>
> Regards,
> Eric Spakman
>
>

Eric,

In the script /usr/sbin/lrcfg.back, when one select "c) custom destination"
in the "Select Backup Destination" dialog, the device is not correctly
updated/added in the $LRPKG/pkgpath.disks file.

The faulty sequence is (near line 133):

   if ! `grep -q "$DEV $FS" $LRPKG/pkgpath.disks`;then
      echo "$DEV $FS" >>$LRPKG/pkgpath.disks
   fi

and I changed it to:

   if ! `grep -q "$DEV $FS" $LRPKG/pkgpath.disks`;then
     echo "/dev/$DEV $FS" >>$LRPKG/pkgpath.disks
   fi

Hope this will help

Christian

-- 
Christian - Grenoble








-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id66&op=click
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to