|
V6及以前光盘文件系统:/etc/init.d/rc文件
或者V7光盘之后文件系统:/etc/init.d/rcS文件
[mw_shl_code=bash,true]# insmod display device driver
if [ "$runlevel" == "S" ]; then
if grep "hdmi" /proc/cmdline > /dev/null ; then
insmod /lib/modules/`uname -r`/kernel/drivers/video/nxp/tda998x.ko
elif grep "lcd7ic" /proc/cmdline > /dev/null ; then
insmod /lib/modules/`uname -r`/kernel/drivers/input/touchscreen/ft5x0x.ko
else
insmod /lib/modules/`uname -r`/kernel/drivers/input/touchscreen/ti_tscadc.ko
fi
fi[/mw_shl_code]
|
|