Use MAKEDEV instead of building inodes ourselves
This commit is contained in:
parent
7f09d95a24
commit
2394134624
1 changed files with 1 additions and 8 deletions
9
debian/libcomedi0.postinst
vendored
9
debian/libcomedi0.postinst
vendored
|
@ -1,14 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Policy says that the user should be asked before we do this.
|
||||
for i in 0 1 2 3
|
||||
do
|
||||
if [ ! -e /dev/comedi$i ]; then
|
||||
mknod /dev/comedi$i c 98 $i
|
||||
chown root.root /dev/comedi$i
|
||||
chmod 666 /dev/comedi$i
|
||||
fi
|
||||
done
|
||||
MAKEDEV comedi
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue