[packages] 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)
git-svn-id: svn://svn.openwrt.org/openwrt/packages/net/olsrd@21868 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

diff --git a/patches/900-force_copy_olsrd_conf_file.patch b/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 -------------------------------------------