From 27c0340f3c075a3c219854c1079abf39a7fff0b7 Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Sun, 7 Nov 2004 12:34:59 +0000 Subject: add some serial configuration bits BKrev: 418e1673m4DcONZSLOAXeOe6YpLD2g --- mythfront/mythfront-config.oe | 9 ++++++++- mythfront/mythfront-config/epia/serial.sh | 0 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 mythfront/mythfront-config/epia/serial.sh (limited to 'mythfront') diff --git a/mythfront/mythfront-config.oe b/mythfront/mythfront-config.oe index b33a330856..a330bf897b 100644 --- a/mythfront/mythfront-config.oe +++ b/mythfront/mythfront-config.oe @@ -1,10 +1,12 @@ -PV = "1.4" +PV = "1.5" DEPENDS = "xfonts-xorg" RDEPENDS_${PN} = "xfonts-xorg" SRC_URI = "file://tftp.sh file://xorg.conf" +SRC_URI_append_epia = " file://serial.sh" + do_install() { install -d ${D}/etc/udhcpc.d/ install ${WORKDIR}/tftp.sh ${D}/etc/udhcpc.d/80tftp @@ -23,5 +25,10 @@ do_install() { install -d ${D}/dev ln -sf lirc0 ${D}/dev/lirc + + if [ -f ${WORKDIR}/serial.sh ]; then + install ${WORKDIR}/serial.sh ${D}/etc/init.d/mythfront-serial + ln -sf ../init.d/mythfront-serial ${D}/etc/rc2.d/S10mythfront-serial + fi } diff --git a/mythfront/mythfront-config/epia/serial.sh b/mythfront/mythfront-config/epia/serial.sh new file mode 100644 index 0000000000..e69de29bb2 -- cgit v1.2.3