From: SeokYeon Hwang Date: Mon, 25 Mar 2013 12:33:41 +0000 (+0900) Subject: Move /etc/rc.d/init.d/simulator-alsa to /etc/init.d/emulator-alsa X-Git-Tag: submit/tizen_common/20140529.181337~11^2~11^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=843997ed917169654a3c74470ad7a5961fce06ea;p=platform%2Fadaptation%2Femulator%2Fsystem-plugin-emulator.git Move /etc/rc.d/init.d/simulator-alsa to /etc/init.d/emulator-alsa Change-Id: I3e113e989e6390f6ff38e0daccf86f0f5024fad1 Signed-off-by: SeokYeon Hwang --- diff --git a/filesystem/etc/init.d/emulator-alsa b/filesystem/etc/init.d/emulator-alsa new file mode 100755 index 0000000..199e19b --- /dev/null +++ b/filesystem/etc/init.d/emulator-alsa @@ -0,0 +1,6 @@ +#!/bin/sh + +amixer cset name='Master Playback Switch' 1 +amixer cset name='Master Playback Volume' 50 +amixer cset name='PCM Playback Switch' 1 +amixer cset name='PCM Playback Volume' 50 diff --git a/filesystem/etc/rc.d/init.d/simulator-alsa b/filesystem/etc/rc.d/init.d/simulator-alsa deleted file mode 100755 index 199e19b..0000000 --- a/filesystem/etc/rc.d/init.d/simulator-alsa +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -amixer cset name='Master Playback Switch' 1 -amixer cset name='Master Playback Volume' 50 -amixer cset name='PCM Playback Switch' 1 -amixer cset name='PCM Playback Volume' 50 diff --git a/filesystem/usr/lib/systemd/system/emul-alsa.service b/filesystem/usr/lib/systemd/system/emul-alsa.service index 1fef4da..44b906f 100644 --- a/filesystem/usr/lib/systemd/system/emul-alsa.service +++ b/filesystem/usr/lib/systemd/system/emul-alsa.service @@ -5,7 +5,7 @@ Before=basic.target [Service] Type=oneshot -ExecStart=/etc/rc.d/init.d/simulator-alsa +ExecStart=/etc/init.d/emulator-alsa [Install] WantedBy=emulator_preinit.target diff --git a/packaging/system-plugin-emulator.spec b/packaging/system-plugin-emulator.spec index 831f582..9d41678 100644 --- a/packaging/system-plugin-emulator.spec +++ b/packaging/system-plugin-emulator.spec @@ -109,7 +109,7 @@ touch /dev/rtc1 /etc/profile.d/simulator-env.sh /etc/profile.d/simulator-opengl.sh /etc/profile.d/system.sh -/etc/rc.d/init.d/simulator-alsa +/etc/init.d/emulator-alsa /etc/rc.d/rc.emul /etc/rc.d/rc.firstboot /etc/rc.d/rc.shutdown