AW: rc.d script for running multiple VirtualBox VMs from
/etc/rc.conf
Doug Barton
dougb at FreeBSD.org
Tue Apr 12 20:00:20 UTC 2011
On 4/12/2011 12:42 PM, Rusty Nejdl wrote:
> While I was developing a port for ASSP2, I had to have it do a wait
> while it was shutting that down:
>
>
> stop_cmd=assp2_daemon_stop
>
> command=/usr/local/sbin/assp2
> command_interpreter=/usr/local/bin/perl
> pidfile=/var/db/assp2/pid
>
> assp2_daemon_stop()
> {
> if test -f /var/db/assp2/pid; then
> checkyesno assp_enable&&
FYI, whether or not the service is enabled is irrelevant to running the
stop method. rc.subr has been modified to run stop unconditionally for
some time now.
hth,
Doug
--
Nothin' ever doesn't change, but nothin' changes much.
-- OK Go
Breadth of IT experience, and depth of knowledge in the DNS.
Yours for the right price. :) http://SupersetSolutions.com/
More information about the freebsd-emulation
mailing list