summaryrefslogtreecommitdiff
path: root/distribution/yocto-advanced/meta-schulung-extended/recipes-app/greeting/files/hello-init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'distribution/yocto-advanced/meta-schulung-extended/recipes-app/greeting/files/hello-init.sh')
-rw-r--r--distribution/yocto-advanced/meta-schulung-extended/recipes-app/greeting/files/hello-init.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/distribution/yocto-advanced/meta-schulung-extended/recipes-app/greeting/files/hello-init.sh b/distribution/yocto-advanced/meta-schulung-extended/recipes-app/greeting/files/hello-init.sh
new file mode 100644
index 0000000..1d40092
--- /dev/null
+++ b/distribution/yocto-advanced/meta-schulung-extended/recipes-app/greeting/files/hello-init.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+case $1 in
+start)
+ exec hello
+ ;;
+stop)
+ exit 0
+ ;;
+esac
+
+exit 1