+++ /dev/null
-#!/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
[Service]
Type=oneshot
-ExecStart=/etc/emulator/setup-audio-volume.sh
+ExecStart=/opt/usr/devel/usr/bin/amixer "cset" "name='Master Playback Switch'" "1"
+ExecStart=/opt/usr/devel/usr/bin/amixer "cset" "name='Master Playback Volume'" "50"
+ExecStart=/opt/usr/devel/usr/bin/amixer "cset" "name='PCM Playback Switch'" "1"
+ExecStart=/opt/usr/devel/usr/bin/amixer "cset" "name='PCM Playback Volume'" "31"
[Install]
WantedBy=emulator_preinit.target
if [ ! -d %{buildroot}/etc/rc.d/rc3.d ]; then
mkdir -p %{buildroot}/etc/rc.d/rc3.d
fi
-ln -s /etc/init.d/setup-audio-volume %{buildroot}//etc/rc.d/rc3.d/S02setup-audio-volume
ln -s /etc/init.d/mount-hostdir %{buildroot}//etc/rc.d/rc3.d/S03mount-hostdir
ln -s /etc/init.d/ssh %{buildroot}/etc/rc.d/rc3.d/S50ssh
/etc/preconf.d/emulator_ns.preinit
%files
-/etc/emulator/setup-audio-volume.sh
/etc/emulator/mount-hostdir.sh
/etc/emulator/model-config.sh
-/etc/init.d/setup-audio-volume
/etc/init.d/mount-hostdir
/etc/inittab
/etc/preconf.d/emulator_ns.preinit
/etc/rc.d/rc.firstboot
/etc/rc.d/rc.shutdown
/etc/rc.d/rc.sysinit
-/etc/rc.d/rc3.d/S02setup-audio-volume
/etc/rc.d/rc3.d/S03mount-hostdir
/etc/rc.d/rc3.d/S50ssh
/etc/systemd/default-extra-dependencies/ignore-units