diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-30 22:15:13 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-30 22:16:10 +0100 |
commit | c0c657bd92911788b96d9670620eabf024453752 (patch) | |
tree | 774a5e2d966d6ee87da17cd063580d5970564d00 /meta-extras/packages/lirc/files/lircexec.init | |
parent | e71a306f9cac8e30e689d607e2092e11a756ef5d (diff) | |
download | poky-c0c657bd92911788b96d9670620eabf024453752.tar.gz |
Split meta-extras and meta-moblin out of the main repository
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta-extras/packages/lirc/files/lircexec.init')
-rwxr-xr-x | meta-extras/packages/lirc/files/lircexec.init | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/meta-extras/packages/lirc/files/lircexec.init b/meta-extras/packages/lirc/files/lircexec.init deleted file mode 100755 index 3a8c1a306e..0000000000 --- a/meta-extras/packages/lirc/files/lircexec.init +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | #! /bin/sh | ||
2 | # | ||
3 | # This is an init script for Familiar | ||
4 | # Copy it to /etc/init.d/lircexecd and type | ||
5 | # > update-rc.d lircexecd defaults 20 | ||
6 | # It must be started after lircd (and it does alphabetically :-) | ||
7 | # irexec reads /etc/lircrc by default | ||
8 | |||
9 | |||
10 | test -f /usr/bin/irexec || exit 0 | ||
11 | test -f /etc/lircrc || exit 0 | ||
12 | |||
13 | case "$1" in | ||
14 | start) | ||
15 | echo -n "Starting lircexec daemon: irexec" | ||
16 | start-stop-daemon --start --quiet --exec /usr/bin/irexec -- --daemon | ||
17 | echo "." | ||
18 | ;; | ||
19 | stop) | ||
20 | echo -n "Stopping lircexec daemon: irexec" | ||
21 | start-stop-daemon --stop --quiet --exec /usr/bin/irexec | ||
22 | echo "." | ||
23 | ;; | ||
24 | restart|force-restart) | ||
25 | echo -n "Stopping lircexec daemon: irexec" | ||
26 | start-stop-daemon --stop --quiet --exec /usr/bin/irexec | ||
27 | sleep 1 | ||
28 | echo -n "Starting lircexec daemon: irexec" | ||
29 | start-stop-daemon --start --quiet --exec /usr/bin/irexec -- --daemon | ||
30 | echo "." | ||
31 | ;; | ||
32 | *) | ||
33 | echo "Usage: /etc/init.d/lircexec {start|stop|reload|restart|force-restart}" | ||
34 | exit 1 | ||
35 | esac | ||
36 | |||
37 | exit 0 | ||