Why doesn't this startup script execute on boot?
andy at xecu.net
Thu May 13 00:10:52 UTC 2010
I'm working on getting p0f integrated with amavisd-new. Everything is
great, with the exception that I can't get the neccessary commands to
execute on boot.
I started with rc.local and that didn't work. So I made this simple script
# PROVIDE: p0f
# REQUIRE: LOGIN
# BEFORE: securelevel
# KEYWORD: shutdown
command_args="-l 'tcp dst port 25' 2>&1 | /usr/local/bin/p0f-analyzer.pl 2345 &"
# read configuration and set defaults
It does not execute on boot (yes, it's executable). It executes just fine
I'm assuming it has something to do with redirecting stdout and stderr to
another script which is then shoved into the background?
How do I work around this?
(BTW, FreeBSD 8.0-STABLE #2: Wed May 12 13:28:18 EDT 2010)
More information about the freebsd-stable