config.in

Thierry MUSEUX - www.fwt.fr - tm at fwt.fr
Thu Mar 19 11:05:07 UTC 2009


I want to submit this patch in conf/config.in

 

main.conf, hs.conf, local.conf are never updated from /etc/chilli/config

 

 

 

Index: conf/functions.in

===================================================================

--- conf/functions.in   (révision 194)

+++ conf/functions.in   (copie de travail)

@@ -191,14 +191,17 @@

 

 files_equal() {

     [ -x /usr/bin/cmp ] && {

-       cmp -s $1 $2 || return 0;

-       return 1;

-    }

-    [ -x /bin/md5sum ] && {

-       [ "$(md5sum $1 | cut -f1 -d' ')" = "$(md5sum $2 | cut -f1 -d' ')" ]
&& return 0;

-       return 1;

-    }

-    return 1;

+       cmp -s $1 $2 || return 1;

+       }

+       return 0;

+

+# The following code seems to be never called

+#    [ -x /bin/md5sum ] && {

+#      [ "$(md5sum $1 | cut -f1 -d' ')" = "$(md5sum $2 | cut -f1 -d' ')" ]
&& return 0;

+#      return 1;

+#    }

+#    return 1;

+

 }

 

 update_new_file() {

 

Thierry Museux

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.coova.org/pipermail/chilli/attachments/20090319/a02e14ce/attachment.htm>


More information about the Chilli mailing list