View Single Post
  #3   (View Single Post)  
Old 22nd October 2009
s0xxx's Avatar
s0xxx s0xxx is offline
Package Pilot
 
Join Date: May 2008
Posts: 192
Default

One thing more, simply copying the famd.sh to /etc/rc.d/ directory wont cut it, you also need to make small modification to the file (two marked lines):
Code:
#!/bin/sh                             # Old value: #!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: famd.sh,v 1.2 2008/01/09 21:17:32 wiz Exp $
#
# PROVIDE: famd
# REQUIRE: DAEMON rpcbind
# KEYWORD: shutdown

. /etc/rc.subr

name="famd"
rcvar=$name
command="/usr/pkg/sbin/famd"           # Old value: "@PREFIX@/sbin/famd"
command_args="-T 0 -L &"

load_rc_config $name
run_rc_command "$1"
Then just enable rpcbind in /etc/rc.conf, as MESSAGE suggest you do, and start famd.
__________________
The best way to learn UNIX is to play with it, and the harder you play, the more you learn.
If you play hard enough, you'll break something for sure, and having to fix a badly broken system is arguably the fastest way of all to learn. -Michael Lucas, AbsoluteBSD
Reply With Quote