commit 0fb912a0d0803a1c5db0b238a6cd7af56e1037ce
Author: Adam Gołębiowski <ad...@pld-linux.org>
Date:   Mon Oct 3 18:41:25 2022 +0000

    - use /etc/bird dir

 bird2.init | 4 ++--
 bird2.spec | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/bird2.spec b/bird2.spec
index ceb6514..535ac3e 100644
--- a/bird2.spec
+++ b/bird2.spec
@@ -43,6 +43,8 @@ Obsoletes:    zebra
 Obsoletes:     zebra-guile
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _sysconfdir     /etc/bird
+
 %description
 The BIRD project is an attempt to create a routing daemon running on
 UNIX-like systems (but not necessarily limited to them) with full
@@ -112,6 +114,7 @@ fi
 %files
 %defattr(644,root,root,755)
 %doc %{?with_docs:obj/doc/*.html} doc/reply_codes 
bird-doc-%{version}/doc/*.pdf ChangeLog NEWS README 
+%dir %{_sysconfdir}
 %attr(755,root,root) %{_sbindir}/bird
 %attr(755,root,root) %{_sbindir}/birdc
 %attr(755,root,root) %{_sbindir}/birdcl
diff --git a/bird2.init b/bird2.init
index 00f9d6a..87fae58 100644
--- a/bird2.init
+++ b/bird2.init
@@ -7,7 +7,7 @@
 # description: Dynamic Route Daemon for IPv4/IPv6 routers
 #
 # processname: bird
-# config:      /etc/bird.conf
+# config:      /etc/bird/bird.conf
 
 
 # Source function library
@@ -30,7 +30,7 @@ else
 fi
 
 # Sanity checks.
-[ -f /etc/bird.conf ] || exit 0
+[ -f /etc/bird/bird.conf ] || exit 0
 
 RETVAL=0
 # See how we were called.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bird2.git/commitdiff/0fb912a0d0803a1c5db0b238a6cd7af56e1037ce

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to