Add devmand configuration to /etc.

This commit is contained in:
Kees Jongenburger
2012-06-18 09:30:45 +02:00
parent 51a9903002
commit 6417d3e064
4 changed files with 71 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
if [ "$1" = up ];
then
mknod /dev/$2 c $3 0
elif [ "$1" = down ];
then
rm /dev/$2
elif
[ "$1" = clean ];
then
rm -f /dev/$2*;
fi