Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Apr 2011 16:01:44 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-multimedia@freebsd.org
Subject:   webcamd-0.1.23 does not start via rc.d
Message-ID:  <20110413140141.GA9608@sh4-5.1blu.de>

next in thread | raw e-mail | index | archive | help


Hello,

I have webcamd-0.1.23 in a 9-CURRENT with ports from CVS from today;
even with the correct value in /etc/rc.conf webcamd does not start:

vm-9Current# fgrep webcam /etc/rc.conf
webcamd_enable="YES"
vm-9Current# /usr/local/etc/rc.d/webcamd start
vm-9Current# ps ax | fgrep web
vm-9Current# 

It seems to missing something:

vm-9Current# sh -x /usr/local/etc/rc.d/webcamd start
...
+ webcamd_enable=YES
+ sourced_files=:/etc/rc.conf::/etc/rc.conf.local:
+ [ -r /etc/rc.conf.local ]
+ _rc_conf_loaded=true
+ [ -f /etc/rc.conf.d/webcamd ]
+ [ -n '' ]
+ eval echo '$webcamd_enable_defval'
+ echo
+ _defval=''
+ [ -n '' ]
+ [ 1 -gt 1 ]

if I give an additional arg it looks like this:

vm-9Current# sh -x /usr/local/etc/rc.d/webcamd start x
...
Starting webcamd.
+ [ -n '' ]
+ _doit='/usr/local/sbin/webcamd  -B -d x -i 0'
+ [ -n '' ]
+ [ -n '' ]
+ _run_rc_doit '/usr/local/sbin/webcamd  -B -d x -i 0'
...

Thanks

	matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru@unixarea.de> - w http://www.unixarea.de/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110413140141.GA9608>