File: postinst

package info (click to toggle)
zapping 0.10~cvs6-9
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 10,956 kB
  • ctags: 13,278
  • sloc: ansic: 111,145; asm: 11,770; sh: 9,816; xml: 2,742; makefile: 1,255; perl: 488
file content (17 lines) | stat: -rw-r--r-- 268 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
# $Id: postinst 47 2009-08-30 10:25:53Z robert $
set -e


if [ "$1" = configure ]; then
	# create v4l devices ?
	if [ ! -d /dev/v4l ] || [ ! -c /dev/video0 ] ; then
		if [ -x /dev/MAKEDEV ]; then
			(cd /dev;  ./MAKEDEV v4l)
		fi
	fi
fi

#DEBHELPER#

exit 0