missing /usr/local in startup.sh files

2007-05-04 Thread David Banning
All of a sudden I notice that whenever I install a package from the
ports, the startup file in /usr/local/etc/rc.d requires that I
put /usr/local in - for instance, the most recent install of 
clamav I had to change

. /etc/rc.subr

to 

. /usr/local/etc/rc.subr

there must be a variable or setting for this that went missing for me.
Could someone be kind enough to direct me here?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: missing /usr/local in startup.sh files

2007-05-04 Thread [LoN]Kamikaze
David Banning wrote:
 All of a sudden I notice that whenever I install a package from the
 ports, the startup file in /usr/local/etc/rc.d requires that I
 put /usr/local in - for instance, the most recent install of 
 clamav I had to change
 
 . /etc/rc.subr
 
 to 
 
 . /usr/local/etc/rc.subr
 
 there must be a variable or setting for this that went missing for me.
 Could someone be kind enough to direct me here?

There shouldn't be a file /usr/local/etc/rc.subr. Did you by any chance move 
/etc/rc.subr to /usr/local/etc/?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: missing /usr/local in startup.sh files

2007-05-04 Thread David Banning
  . /usr/local/etc/rc.subr
  
  there must be a variable or setting for this that went missing for me.
  Could someone be kind enough to direct me here?
 
 There shouldn't be a file /usr/local/etc/rc.subr. Did you by any chance move 
 /etc/rc.subr to /usr/local/etc/?
 

Maybe we are on different versions - I am using FreeBSD 4.9, and the man
page states that where is belongs - note line after SYNOPSIS;

$ man rc.subr

RC.SUBR(8)  FreeBSD System Manager's Manual RC.SUBR(8)

NAME
 rc.subr -- functions used by system shell scripts

SYNOPSIS
 . /usr/local/etc/rc.subr

 backup_file action file current backup
 checkyesno var
 check_pidfile pidfile procname [interpreter]
 check_process procname [interpreter]
 debug message
 err exitval message

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: missing /usr/local in startup.sh files

2007-05-04 Thread [LoN]Kamikaze
David Banning wrote:
 . /usr/local/etc/rc.subr

 there must be a variable or setting for this that went missing for me.
 Could someone be kind enough to direct me here?
 There shouldn't be a file /usr/local/etc/rc.subr. Did you by any chance move 
 /etc/rc.subr to /usr/local/etc/?

 
 Maybe we are on different versions - I am using FreeBSD 4.9, and the man
 page states that where is belongs - note line after SYNOPSIS;
 ...

Well, 4.x is not supported by ports anymore. If there is no rc.subr in /etc, 
you can simply put a Symlink there as a workaround.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]