comedilib/debian/libcomedi0.postinst
2001-06-27 22:11:02 +00:00

16 lines
250 B
Bash

#!/bin/sh
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#