force copy the olsrd.conf file during install
authorFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 28 Jun 2012 18:25:22 +0000 (20:25 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 28 Jun 2012 18:25:22 +0000 (20:25 +0200)
this upstreams the OpenWRT 900-force_copy_olsrd_conf_file.patch

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Makefile

index b4b1661..03eb68a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -128,7 +128,7 @@ install_olsrd:      install_bin
                @echo can be found at files/olsrd.conf.default.lq
                @echo ==========================================================
                mkdir -p $(ETCDIR)
-               -cp -i files/olsrd.conf.default.lq $(CFGFILE)
+               -cp -f files/olsrd.conf.default.lq $(CFGFILE)
                @echo -------------------------------------------
                @echo Edit $(CFGFILE) before running olsrd!!
                @echo -------------------------------------------