This diff is similar to bluhm@'s fix for httpd and relayd, but for snmpd.
> During the fork+exec implementation, daemon(3) was moved after
> proc_init(). As a consequence httpd(8) and relayd(8) child processes
> do not detach from the terminal anymore. Dup /dev/null to the stdio
> file descriptors in the children.