olsrd: force non-interactive install (#7470)
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 21 Jun 2010 22:34:41 +0000 (22:34 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 21 Jun 2010 22:34:41 +0000 (22:34 +0000)
SVN-Revision: 21868

net/olsrd/patches/900-force_copy_olsrd_conf_file.patch [new file with mode: 0644]

diff --git a/net/olsrd/patches/900-force_copy_olsrd_conf_file.patch b/net/olsrd/patches/900-force_copy_olsrd_conf_file.patch
new file mode 100644 (file)
index 0000000..f1e4785
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/Makefile 2010-06-14 11:27:58.000000000 +0200
++++ b/Makefile 2010-06-14 11:28:44.000000000 +0200
+@@ -117,7 +117,7 @@
+               @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 -------------------------------------------