arpwatch/arpwatch.spec

changeset 690
67c9fa937f34
parent 571
175768f4868b
     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"

mercurial