summaryrefslogtreecommitdiff
path: root/openembedded/packages/lirc/files
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-05-09 19:35:13 +0000
committerRichard Purdie <richard@openedhand.com>2006-05-09 19:35:13 +0000
commit30285dd379000284555a38c80b7d4dad472fe515 (patch)
tree8755c94e0a945ddaf1c1f05d6a7158b67c8a298c /openembedded/packages/lirc/files
parent103c8510e0cdc03760885db52ffd2a6908a6f401 (diff)
downloadopenembedded-core-30285dd379000284555a38c80b7d4dad472fe515.tar.gz
openembedded-core-30285dd379000284555a38c80b7d4dad472fe515.tar.bz2
openembedded-core-30285dd379000284555a38c80b7d4dad472fe515.zip
More packages merging with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@390 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/lirc/files')
-rwxr-xr-xopenembedded/packages/lirc/files/lircd.init1
-rwxr-xr-xopenembedded/packages/lirc/files/lircexec.init5
2 files changed, 4 insertions, 2 deletions
diff --git a/openembedded/packages/lirc/files/lircd.init b/openembedded/packages/lirc/files/lircd.init
index 4bb2b7ee0a..11ce62447f 100755
--- a/openembedded/packages/lirc/files/lircd.init
+++ b/openembedded/packages/lirc/files/lircd.init
@@ -7,6 +7,7 @@
test -f /usr/sbin/lircd || exit 0
+test -f /etc/lircd.conf || exit 0
case "$1" in
start)
diff --git a/openembedded/packages/lirc/files/lircexec.init b/openembedded/packages/lirc/files/lircexec.init
index a9724af0fa..3a8c1a306e 100755
--- a/openembedded/packages/lirc/files/lircexec.init
+++ b/openembedded/packages/lirc/files/lircexec.init
@@ -8,11 +8,12 @@
test -f /usr/bin/irexec || exit 0
+test -f /etc/lircrc || exit 0
case "$1" in
start)
echo -n "Starting lircexec daemon: irexec"
- start-stop-daemon --start --quiet --exec /usr/bin/irexec
+ start-stop-daemon --start --quiet --exec /usr/bin/irexec -- --daemon
echo "."
;;
stop)
@@ -25,7 +26,7 @@ case "$1" in
start-stop-daemon --stop --quiet --exec /usr/bin/irexec
sleep 1
echo -n "Starting lircexec daemon: irexec"
- start-stop-daemon --start --quiet --exec /usr/bin/irexec
+ start-stop-daemon --start --quiet --exec /usr/bin/irexec -- --daemon
echo "."
;;
*)