From: David Schleef Date: Wed, 27 Jun 2001 22:11:02 +0000 (+0000) Subject: Added device nodes X-Git-Tag: r0_7_16~61 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5ed4fb90f33391579ec1a17a83ca827ce1bcfdde;p=comedilib.git Added device nodes --- diff --git a/debian/libcomedi0.postinst b/debian/libcomedi0.postinst index aac6819..9f74fcb 100644 --- a/debian/libcomedi0.postinst +++ b/debian/libcomedi0.postinst @@ -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#