16 lines
250 B
Bash
16 lines
250 B
Bash
#!/bin/sh
|
|
|
|
if [ "$1" = "configure" ]; then
|
|
/sbin/ldconfig
|
|
fi
|
|
|
|
# Policy says that the user should be asked before we do this.
|
|
for i in 0 1 2 3
|
|
do
|
|
mknod /dev/comedi$i c 98 $i
|
|
chown root.root /dev/comedi$i
|
|
chmod 666 /dev/comedi$i
|
|
done
|
|
|
|
#DEBHELPER#
|
|
|