⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 can

📁 canpie 一个can bus的协议栈 - CAN interface for embedded control - CAN interface for PC (without local
💻
字号:
#!/bin/sh## can 1.00## Initialize or shutdown a CANpie device## The first argument should be either 'start' or 'stop'.  The second# argument is the base name for the device.## There is not very much to do for this script...#if [ -r ./shared ] ; then . ./shared ; else . /etc/pcmcia/shared ; fi# Get device attributesget_info $DEVICE# Load site-specific settingsADDRESS="$SCHEME,$SOCKET,$INSTANCE". $0.optscase "$ACTION" in'start')    if is_true $LOAD_CAN ; then	modprobe canpie    fi    ;;'check')    is_true $NO_CHECK && exit 0    ;;'cksum')    chk_simple "$NEW_SCHEME,$SOCKET,$INSTANCE" || exit 1    ;;'stop')    if is_true $LOAD_CAN ; then	modprobe -r canpie    fi    ;;'suspend')    ;;'resume')    ;;*)    usage    ;;esacexit 0

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -