LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 814|回复: 0

谁能解释一下这步怎么做!

[复制链接]
发表于 2003-7-16 15:06:55 | 显示全部楼层 |阅读模式
Finally, you will need to install an appropriate hotplugging script: create the directory /etc/hotplug/usb:
mkdir /etc/hotplug/usb

and (as root) place the following in /etc/hotplug/usb/speedtouch.usermap:
speedtouch 0x0003 0x06b9 0x4061 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000 0x00000000

and the following in /etc/hotplug/usb/speedtouch:
#!/bin/bash

case $ACTION in

add)
    mesg "speedtch: uploading microcode."
    if /usr/local/sbin/modem_run -k -f /usr/local/lib/firmware.bin ; then
        sleep 5
        if /usr/sbin/pppd ; then
            mesg "speedtch: started pppd."
        fi
    fi
;;

esac
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表