summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/Makefile.am2
-rwxr-xr-xinit/snd_init10
2 files changed, 12 insertions, 0 deletions
diff --git a/init/Makefile.am b/init/Makefile.am
new file mode 100644
index 0000000..993ef30
--- /dev/null
+++ b/init/Makefile.am
@@ -0,0 +1,2 @@
+installinitscriptdir = /etc/rc.d/init.d
+installinitscript_SCRIPTS = $(srcdir)/snd_init
diff --git a/init/snd_init b/init/snd_init
new file mode 100755
index 0000000..f8e75aa
--- /dev/null
+++ b/init/snd_init
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# snd_init sound_initializer
+# chkconfig: 2345 30 30
+# description: snd_init runs sound_initializer -i which make shared memory for audio system
+#
+
+if [ -x /usr/bin/sound_initializer ]; then
+ /usr/bin/sound_initializer -i
+fi