phone_dev_create
上传用户:sy_wanhua
上传日期:2013-07-25
资源大小:3048k
文件大小:1k
- #!/bin/sh
- #
- # delete all the old device files, just in case
- rm -f /dev/ixj? /dev/ixj?[ps] /dev/ixj?? /dev/ixj??[ps] /dev/ixjint
- #
- # create a new set of device files unless they already exist
- if [ -c /dev/phone0 ]
- then
- exit 0
- fi
- mknod /dev/phone0 c 100 0
- mknod /dev/phone1 c 100 1
- mknod /dev/phone2 c 100 2
- mknod /dev/phone3 c 100 3
- mknod /dev/phone4 c 100 4
- mknod /dev/phone5 c 100 5
- mknod /dev/phone6 c 100 6
- mknod /dev/phone7 c 100 7
- mknod /dev/phone8 c 100 8
- mknod /dev/phone9 c 100 9
- mknod /dev/phone10 c 100 10
- mknod /dev/phone11 c 100 11
- mknod /dev/phone12 c 100 12
- mknod /dev/phone13 c 100 13
- mknod /dev/phone14 c 100 14
- mknod /dev/phone15 c 100 15