Use MAKEDEV instead of building inodes ourselves
authorDavid Schleef <ds@schleef.org>
Mon, 14 Jan 2002 21:29:03 +0000 (21:29 +0000)
committerDavid Schleef <ds@schleef.org>
Mon, 14 Jan 2002 21:29:03 +0000 (21:29 +0000)
debian/libcomedi0.postinst

index 40d76b4a840acc3b9be42dc9d59be2f8b2179ebb..a3f7bc6c9636eb9352d6158023afb185d38325f9 100644 (file)
@@ -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#