projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b32ef02
)
Added device nodes
author
David Schleef
<ds@schleef.org>
Wed, 27 Jun 2001 22:11:02 +0000
(22:11 +0000)
committer
David Schleef
<ds@schleef.org>
Wed, 27 Jun 2001 22:11:02 +0000
(22:11 +0000)
debian/libcomedi0.postinst
patch
|
blob
|
history
diff --git
a/debian/libcomedi0.postinst
b/debian/libcomedi0.postinst
index aac68193ef60479b3a93d32d216bb63e66fd109a..9f74fcb4b705401e90f57363b5a07c1c6ef92126 100644
(file)
--- 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#