Added device nodes
This commit is contained in:
parent
b32ef02cfd
commit
5ed4fb90f3
1 changed files with 8 additions and 0 deletions
8
debian/libcomedi0.postinst
vendored
8
debian/libcomedi0.postinst
vendored
|
@ -4,5 +4,13 @@ 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#
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue