Mon, 17 Sep 2012 19:10:49 +0200
Correctly generate and install forgotten initial ARP database.
arpwatch/arpwatch.spec | file | annotate | diff | comparison | revisions |
1.1 --- a/arpwatch/arpwatch.spec Mon Sep 17 19:10:10 2012 +0200 1.2 +++ b/arpwatch/arpwatch.spec Mon Sep 17 19:10:49 2012 +0200 1.3 @@ -135,10 +135,12 @@ 1.4 1.5 %post 1.6 if [ $1 -eq 1 ]; then 1.7 - # after installing package, generate initial arp database 1.8 + # after installing package, install codes and initial arp database 1.9 %{l_shtool} install -c -o %{l_musr} -g %{l_mgrp} -m 644 \ 1.10 %{_builddir}/arpwatch-%{version}/ethercodes.dat \ 1.11 $RPM_INSTALL_PREFIX/var/arpwatch/run/ 1.12 + %{l_shtool} install -c -o %{l_musr} -g %{l_mgrp} -m 644 \ 1.13 + /dev/null $RPM_INSTALL_PREFIX/var/arpwatch/run/arp.dat 1.14 1.15 # after installing package, announce security provision lo0 1.16 ( echo "Before starting the arpwatch daemon, set the config variables"