📄 driver.1394
字号:
#!/bin/sh# this is necessary for RedHat-distributions,# because all module tools (depmod, insmod, rmmod)# are located in /sbin, which is not included# in the standard search path for anyoneexport PATH=$PATH:/sbin # fresh up the dependencies first#depmod -aecase "$1" in clean) echo -n -e "make clean 1394 modules" rm -f *.o *.flags echo ;; make) echo -n -e "make 1394 modules for kernel"# cd /usr/src/linux-2.4.24/ cd /usr/src/linux/ make modules echo ;; start) echo -n -e "Inserting 1394 modules into kernel" insmod ieee1394.o insmod ohci1394.o insmod raw1394.o insmod video1394.o echo ;; debug) echo -n -e "Inserting 1394 modules with debug options into kernel" insmod ieee1394.o insmod ohci1394.o insmod raw1394.o insmod video1394.o echo ;; stop) echo -n -e "Deleting 1394 modules from kernel" rmmod video1394 raw1394 ohci1394 ieee1394 echo ;; restart|reload) $0 stop && $0 start ;; *) echo "Usage$0 {start|stop|clean|restart}" exit 1esacexit 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -