Accepting request 261930 from home:Ledest:bashisms
fix bashism in alsa-init.sh script OBS-URL: https://build.opensuse.org/request/show/261930 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa?expand=0&rev=172
This commit is contained in:
parent
84789a8f60
commit
e94b8f9718
@ -5,10 +5,8 @@
|
||||
test -s /var/lib/alsa/asound.state && /usr/sbin/alsactl -F restore $1 >/dev/null 2>&1
|
||||
# increase buffer-preallocation size (for PA)
|
||||
if [ -f /proc/asound/card$1/pcm0p/sub0/prealloc_max ]; then
|
||||
pmax=$(< /proc/asound/card$1/pcm0p/sub0/prealloc_max)
|
||||
if [ $pmax -gt 1024 ]; then
|
||||
[ $(cat /proc/asound/card$1/pcm0p/sub0/prealloc_max) -le 1024 ] ||
|
||||
echo 1024 > /proc/asound/card$1/pcm0p/sub0/prealloc
|
||||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 16 18:10:00 UTC 2014 - Led <ledest@gmail.com>
|
||||
|
||||
- fix bashism in alsa-init.sh scripts
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 17 11:48:23 CEST 2014 - tiwai@suse.de
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user