mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
* Allow boot with more than one webcam or dvb-t device.
* Fix rc.d/webcamd failure when libcuse4bsd.so cannot be found during early bootup. Submitted by: maintainer
This commit is contained in:
parent
beeb7bc111
commit
482a3156a2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=259022
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= webcamd
|
||||
PORTVERSION= 0.1.14
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= http://www.selasky.org/hans_petter/video4bsd/releases/
|
||||
|
||||
|
@ -3,5 +3,5 @@ notify 100 {
|
||||
match "subsystem" "INTERFACE";
|
||||
match "type" "ATTACH";
|
||||
match "intclass" "(0x0e|0xff)";
|
||||
action "%%PREFIX%%/etc/rc.d/webcamd start $cdev";
|
||||
action "env LD_PRELOAD=%%PREFIX%%/lib/libcuse4bsd.so %%PREFIX%%/etc/rc.d/webcamd start $cdev";
|
||||
};
|
||||
|
@ -17,9 +17,11 @@ name=webcamd
|
||||
rcvar=`set_rcvar`
|
||||
command=%%PREFIX%%/sbin/webcamd
|
||||
command_args="-B"
|
||||
pidfile="/var/run/webcamd.$cdev.0.pid"
|
||||
|
||||
load_rc_config $name
|
||||
if [ $# -gt 1 ]; then
|
||||
pidfile="webcamd.dummy"
|
||||
command_args="$command_args -d $2 -i 0"
|
||||
fi
|
||||
run_rc_command $1
|
||||
|
Loading…
Reference in New Issue
Block a user