Arpwatch alfa
-
this is a google translation of topic http://forum.pfsense.org/index.php/topic,32462.0.html
The reason - service arpwatch not run after installation.
Goal - to run arpwatch alfa after installation of packages.
The result - did the two PF2, all ok.ee / usr / local / etc / rc.d / arpwatch.sh
#!/bin/sh
This file was automatically generated
by the pfSense service handler.
rc_start() {
# /usr/local/sbin/arpwatch -d -i > /var/log/arpwatch.reports 2>&1 & # this strka was generatedNow that I finished the service to start up
/usr/local/sbin/arpwatch -d -i rl1 > /var/log/arpwatch.reports 2>&1 & # rl1 - the right interface
}c_stop() {
/usr/bin/killall arpwatch
}case $1 in
start)
rc_start
;;
stop)
rc_stop
;;
restart)
rc_stop
rc_start
;;
esac -
Thanks this fixed it :D
-
clearing the log causes an error ;/
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.