Merge pull request #302 from bit/newlines
fix newlines in config/sources/odroidc2.conf
This commit is contained in:
commit
ab62fefd06
@ -26,14 +26,14 @@ write_uboot_platform()
|
||||
|
||||
family_tweaks()
|
||||
{
|
||||
sed -i 's/MODULES=.*/MODULES="meson-ir"/' $CACHEDIR/sdcard/etc/lirc/hardware.conf
|
||||
sed -i 's/LOAD_MODULES=.*/LOAD_MODULES="true"/' $CACHEDIR/sdcard/etc/lirc/hardware.conf
|
||||
sed -i 's/DEVICE=.*/DEVICE="\/dev\/lirc0"/' $CACHEDIR/sdcard/etc/lirc/hardware.conf
|
||||
sed -i 's/LIRCD_ARGS=.*/LIRCD_ARGS="--uinput"/' $CACHEDIR/sdcard/etc/lirc/hardware.conf
|
||||
cp $SRC/lib/config/lirc.conf.odroidc2 $CACHEDIR/sdcard/etc/lirc/lircd.conf
|
||||
|
||||
install -m 755 $SRC/lib/scripts/c2_init.sh $CACHEDIR/sdcard/etc/
|
||||
sed -e 's/exit 0//g' -i $CACHEDIR/sdcard/etc/rc.local
|
||||
echo "/etc/c2_init.sh" >> $CACHEDIR/sdcard/etc/rc.local
|
||||
echo "exit 0" >> $CACHEDIR/sdcard/etc/rc.local
|
||||
}
|
||||
sed -i 's/MODULES=.*/MODULES="meson-ir"/' $CACHEDIR/sdcard/etc/lirc/hardware.conf
|
||||
sed -i 's/LOAD_MODULES=.*/LOAD_MODULES="true"/' $CACHEDIR/sdcard/etc/lirc/hardware.conf
|
||||
sed -i 's/DEVICE=.*/DEVICE="\/dev\/lirc0"/' $CACHEDIR/sdcard/etc/lirc/hardware.conf
|
||||
sed -i 's/LIRCD_ARGS=.*/LIRCD_ARGS="--uinput"/' $CACHEDIR/sdcard/etc/lirc/hardware.conf
|
||||
cp $SRC/lib/config/lirc.conf.odroidc2 $CACHEDIR/sdcard/etc/lirc/lircd.conf
|
||||
|
||||
install -m 755 $SRC/lib/scripts/c2_init.sh $CACHEDIR/sdcard/etc/
|
||||
sed -e 's/exit 0//g' -i $CACHEDIR/sdcard/etc/rc.local
|
||||
echo "/etc/c2_init.sh" >> $CACHEDIR/sdcard/etc/rc.local
|
||||
echo "exit 0" >> $CACHEDIR/sdcard/etc/rc.local
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user