-
-
修改倒屏之后无法U盘升级屏参的问题
busybox sed -i 's#MIRROR_OSD = .*#MIRROR_OSD = True;#g' /config/model/Customer_1.in
"busybox sed -i 's#^m_pPanelName.*;#m_pPanelName = \"/config/panel/panel.ini#g' /config/model/Customer_1.ini");
LOG();
MSrv_Control::GetInstance()->userSystemCmd(cmdline);
+ //After the screen down replace panel ini file...add by xuhucheng 20180112
+ snprintf(cmdline, 148,
+ "busybox sed -i 's#^m_ppanelname.*i#m_ppanelname = /config/panel/panel.ini#g' /config/model/Customer_1.ini");
+ LOG();
+ MSrv_Control::GetInstance()->userSystemCmd(cmdline);
+ //end
snprintf(cmdline, 200,
"grep \"^m_wPanelWidth.*=.*1920;\" /config/panel/panel.ini && busybox sed -i 's#ro.sf.lcd_density=.*#ro.sf.lcd_density=160#g' /system/build.pro
LOG();-
[misc_mirror_cfg]
mirror_osd = False
mirror_osd_type = 0
mirror_video = False
mirror_video_type = 0- busybox sed -i '/mirror_osd /s#= .*#= False#' /config/model/Customer_1.ini
-
-
shell中的sed使用
最新推荐文章于 2023-07-03 10:18:19 发布