aboutsummaryrefslogtreecommitdiff
path: root/board/pulseaudio.sh
diff options
context:
space:
mode:
Diffstat (limited to 'board/pulseaudio.sh')
-rw-r--r--board/pulseaudio.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/board/pulseaudio.sh b/board/pulseaudio.sh
index a789bc9..4737a6a 100644
--- a/board/pulseaudio.sh
+++ b/board/pulseaudio.sh
@@ -5,12 +5,7 @@
##############################
# Create the directory where pulseaudio store its files and put it in tempfs
-create_missing_dir "/var/lib/pulse"
-if ! grep -qE '/var/lib/pulse' "${TARGET_DIR}/etc/fstab"; then
- cat << __EOF__ >> "${TARGET_DIR}/etc/fstab"
-tmpfs /var/lib/pulse tmpfs rw 0 0
-__EOF__
-fi
+add_tmpfs "/var/lib/pulse"
if ! grep -qE '^load-module module-native-protocol-tcp' "${TARGET_DIR}/etc/pulse/system.pa"; then
cat << __EOF__ >> "${TARGET_DIR}/etc/pulse/system.pa"