Skip to content
Snippets Groups Projects
Commit 29e071ae authored by Dang Huynh's avatar Dang Huynh
Browse files

device-xiaomi-santoni: refactored nonfree-firmware post install script


Signed-off-by: default avatarDanct12 <danct12@disroot.org>
parent df3196f5
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
pkgname=device-xiaomi-santoni
pkgdesc="Xiaomi Redmi 4X"
pkgver=0.5
pkgrel=5
pkgrel=6
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
......
#!/bin/sh
# We make sure that tsched has not mentioned anywhere in the default PulseAudio config
if [ "$(grep -c tsched /etc/pulse/default.pa)" -lt "1" ]; then
if ! grep -q tsched /etc/pulse/default.pa; then
sed -i 's/load-module module-udev-detect/load-module module-udev-detect tsched=0/g' /etc/pulse/default.pa
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment