之前曾經發過一篇雙遙控模式的改造,
在WEB遙控大解密之後,
已是英雄無用武之地。
所幸,我們還有改造的方式,
讓你在使用通用固件時,
也能正常的使用WEB遙控。
一樣打開 /usr/local/etc/rcS
這次irfake改為常駐模式,
將
if [ -f /usr/local/etc/irfake_irrp ]; then
/sbin/insmod /usr/local/etc/venus_ir_new.ko
fi
後面增加
if [ -f /usr/local/etc/irfake_irrp ]; then
/usr/local/etc/irfake4 -b 300 -R -f /usr/local/etc/irfake_irrp >> /tmp/command_sender.txt &
fi
然後這一段,
將
if [ -f $DEFAULT_AP_DIR/RootApp ] && [ -x $DEFAULT_AP_DIR/RootApp ]; then
echo Running dvdplayer with RootApp
if [ -f /usr/local/etc/irfake_irrp ]; then
/usr/local/etc/irfake4 -R -f /usr/local/etc/irfake_irrp | ./RootApp DvdPlayer&
else
#./RootApp DvdPlayer&
tail -f /tmp/command_sender.txt |./RootApp DvdPlayer&
fi
else
echo Running dvdplayer
if [ -f /usr/local/etc/irfake_irrp ]; then
/usr/local/etc/irfake4 -R -f /usr/local/etc/irfake_irrp | ./DvdPlayer&
else
#./DvdPlayer&
tail -f /tmp/command_sender.txt |./DvdPlayer&
fi
fi
改為
if [ -f $DEFAULT_AP_DIR/RootApp ] && [ -x $DEFAULT_AP_DIR/RootApp ]; then
echo Running dvdplayer with RootApp
#./RootApp DvdPlayer&
tail -f /tmp/command_sender.txt |./RootApp DvdPlayer&
else
echo Running dvdplayer
#./DvdPlayer&
tail -f /tmp/command_sender.txt |./DvdPlayer&
fi
這樣就大功告成了。
留言列表