From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/kbdd/files/kbdd-modules | 3 +++ recipes/kbdd/files/kbdd.conf | 7 +++++++ recipes/kbdd/files/kbdd.init | 25 +++++++++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 recipes/kbdd/files/kbdd-modules create mode 100644 recipes/kbdd/files/kbdd.conf create mode 100644 recipes/kbdd/files/kbdd.init (limited to 'recipes/kbdd/files') diff --git a/recipes/kbdd/files/kbdd-modules b/recipes/kbdd/files/kbdd-modules new file mode 100644 index 0000000000..5d6c01cb23 --- /dev/null +++ b/recipes/kbdd/files/kbdd-modules @@ -0,0 +1,3 @@ +keybdev +uinput + diff --git a/recipes/kbdd/files/kbdd.conf b/recipes/kbdd/files/kbdd.conf new file mode 100644 index 0000000000..b59d701137 --- /dev/null +++ b/recipes/kbdd/files/kbdd.conf @@ -0,0 +1,7 @@ +# This is the default config file for kbdd +# Only lines starting with "port:" or "type:" are parsed, +# the rest are ignored. + +# NOTE - you must edit and uncomment the lines below +#port: /dev/tts/0 +#type: foldable diff --git a/recipes/kbdd/files/kbdd.init b/recipes/kbdd/files/kbdd.init new file mode 100644 index 0000000000..00aec07aa7 --- /dev/null +++ b/recipes/kbdd/files/kbdd.init @@ -0,0 +1,25 @@ +#!/bin/sh +# + +. /etc/profile + +case $1 in +'start') + /usr/sbin/kbdd -c /etc/kbdd.conf > /dev/null 2>&1 & + ;; + +'stop') + killall kbdd + ;; + +'restart') + $0 stop + $o start + ;; + +*) + echo "usage: $0 { start | stop | restart }" + ;; + +esac + -- cgit v1.2.3