[ahcpd] Add ahcp-config.sh.
Jon Ciesla
limb at fedoraproject.org
Mon Mar 3 18:36:50 UTC 2014
commit 81a890fd068cc7d1b05df01b01436451de7e5ac9
Author: Jon Ciesla <limburgher at gmail.com>
Date: Mon Mar 3 12:34:57 2014 -0600
Add ahcp-config.sh.
ahcpd.service | 2 +-
ahcpd.spec | 9 +++++++--
2 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/ahcpd.service b/ahcpd.service
index 07fc3ca..60bdf7a 100644
--- a/ahcpd.service
+++ b/ahcpd.service
@@ -3,7 +3,7 @@ Description=ahcpd network configuration daemon
After=network.target
[Service]
-ExecStart=/usr/sbin/ahcpd -c /etc/ahcpd.conf p2p1
+ExecStart=/usr/sbin/ahcpd -d 5 -t 300 -c /etc/ahcpd.conf p2p1
[Install]
WantedBy=multi-user.target
diff --git a/ahcpd.spec b/ahcpd.spec
index 04460a1..896a07e 100644
--- a/ahcpd.spec
+++ b/ahcpd.spec
@@ -2,7 +2,7 @@
Name: ahcpd
Version: 0.53
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Ad-hoc network configuration daemon
Group: System Environment/Base
@@ -37,6 +37,8 @@ install -Dpm 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/ahcpd.conf
install -Dpm 644 ahcpd.man $RPM_BUILD_ROOT/%{_mandir}/man8/ahcpd.8
install -Dp -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/ahcpd
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/ahcpd/leases/
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/ahcp/
+install -Dpm 755 ahcp-config.sh $RPM_BUILD_ROOT%{_sysconfdir}/ahcp/ahcp-config.sh
%clean
rm -rf $RPM_BUILD_ROOT
@@ -72,9 +74,12 @@ fi
%config(noreplace) %{_sysconfdir}/logrotate.d/ahcpd
%{_mandir}/man8/ahcpd.8.gz
%ghost %attr(0600,root,root) %{_localstatedir}/log/ahcpd.log
-
+%config(noreplace) %{_sysconfdir}/ahcp/
%changelog
+* Fri Feb 21 2014 Jon Ciesla <limburgher at gmail.com> - 0.53-7
+- Add ahcp-config.sh, BZ 1035710.
+
* Mon Aug 05 2013 Jon Ciesla <limburgher at gmail.com> - 0.53-6
- Add BuildRequires: systemd to fix FTBFS, BZ 991958.
More information about the scm-commits
mailing list