如果是第一次需要在config 建立 infrared 文件夹 /etc/config/infrared
2. rc.local 让红外的程序运行
root@SongJia:/etc# cat rc.local
#/bin/sh
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
lirc_sever&
挂载,
mount -t nfs -o nolock 192.168.202.232:/home/chen/share /mnt
拷入库
cp CFR-* /etc/config/infrared
root@SongJia:/mnt# cd /etc/config/infrared/
root@SongJia:/etc/config/infrared# ls
CFR-GREE-AC-Y502K.json CFR-TCL-TV-01.json
CFR-GREE-AC-YBOF2.json CFR-TCL-TV-RC3000C11.json
2. rc.local 让红外的程序运行
root@SongJia:/etc# cat rc.local
#/bin/sh
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
lirc_sever&
挂载,
mount -t nfs -o nolock 192.168.202.232:/home/chen/share /mnt
拷入库
cp CFR-* /etc/config/infrared
root@SongJia:/mnt# cd /etc/config/infrared/
root@SongJia:/etc/config/infrared# ls
CFR-GREE-AC-Y502K.json CFR-TCL-TV-01.json
CFR-GREE-AC-YBOF2.json CFR-TCL-TV-RC3000C11.json