asterisk: Introduce asterisk recipe for 1.8.7.0
diff --git a/recipes-isdn/asterisk/files/asterisk.init b/recipes-isdn/asterisk/files/asterisk.init
new file mode 100755
index 0000000..8ef76aa
--- /dev/null
+++ b/recipes-isdn/asterisk/files/asterisk.init
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+NAME=asterisk
+
+set -e
+
+case "$1" in
+ start)
+ /usr/sbin/asterisk
+ echo "Forked asterisk"
+ ;;
+ stop)
+ echo "Can not stop it"
+ ;;
+ *)
+ N=/etc/init.d/$NAME
+ echo "Usage: $N {start|stop|restart|force-reload}" >&2
+ exit 1
+esac
+
+exit 0
diff --git a/recipes-isdn/asterisk/files/modules.conf b/recipes-isdn/asterisk/files/modules.conf
new file mode 100644
index 0000000..68db67f
--- /dev/null
+++ b/recipes-isdn/asterisk/files/modules.conf
@@ -0,0 +1,2 @@
+[modules]
+autoload=yes