Salut à tous,

depuis la modif utilisant $SEND_DSP, hotplug marche plus chez moi. Le
DSP n'est jamais envoyé.

if [ $SEND_DSP == 1 ] ; then
        if ! eaglestat | grep -q $SEND_DSP ; then
                SEND_DSP=0
        fi

C'est le grep qui pose problème donc la variable est mise à 0.

modif :

if [ $SEND_DSP == 1 ] ; then
        if ! eaglestat | grep -q "send DSP" ; then
                SEND_DSP=0
        fi

A+
-- 
Louis CARNAPETE

           ////////////
           \\  - -  //
            (  @ @  )
 ________oOOo__(_)__oOOo________
| Utilisez les logiciels libres |
|   NON aux brevets logiciels   |
|___________________Ooooo_______|
                    (   )
           ooooO     ) /
           (   )    (_/
            \ (
             \_)


Reply via email to