summaryrefslogtreecommitdiffstats
path: root/pulseaudio/post-install
diff options
context:
space:
mode:
Diffstat (limited to 'pulseaudio/post-install')
-rwxr-xr-xpulseaudio/post-install6
1 files changed, 5 insertions, 1 deletions
diff --git a/pulseaudio/post-install b/pulseaudio/post-install
index bc2c8e5..ee267d5 100755
--- a/pulseaudio/post-install
+++ b/pulseaudio/post-install
@@ -2,6 +2,10 @@
port=pulseaudio
-[[ `grep shm /etc/fstab` ]] || ( echo "shm /dev/shm tmpfs nodev,nosuid,noexec 0 0" >> /etc/fstab && mount shm )
+[[ -f /usr/bin/esd ]] && /bin/mv -f /usr/bin/esd /usr/bin/esd-orig
+/bin/ln -sf esdcompat /usr/bin/esd
+
+/bin/grep shm /etc/fstab > /dev/null 2>&1 || echo "shm /dev/shm tmpfs nodev,nosuid,noexec 0 0" >> /etc/fstab
+/bin/grep shm /etc/mtab > /dev/null 2>&1 || /bin/mount mtab
# End of file