summaryrefslogtreecommitdiffstats
path: root/extra/pure-alsa-system
diff options
context:
space:
mode:
Diffstat (limited to 'extra/pure-alsa-system')
-rwxr-xr-xextra/pure-alsa-system/README7
-rwxr-xr-xextra/pure-alsa-system/revert-to-using-pulseaudio.sh5
2 files changed, 10 insertions, 2 deletions
diff --git a/extra/pure-alsa-system/README b/extra/pure-alsa-system/README
index fe703ee82..dbd7618d7 100755
--- a/extra/pure-alsa-system/README
+++ b/extra/pure-alsa-system/README
@@ -13,7 +13,12 @@ upgradepkg --install-new --terse *.txz
# Move the new asound.conf into place:
-mv /etc/asound.conf.new /etc/asound.conf
+echo "Moving /etc/asound.conf.new to /etc/asound.conf:"
+mv --verbose /etc/asound.conf.new /etc/asound.conf
+
+# Make rc.alsa executable so that volume is properly restored:
+echo "Making /etc/rc.d/rc.alsa executable."
+chmod 755 /etc/rc.d/rc.alsa
# You may need to reboot at this point to make sure there are no running
# PulseAudio processes, or any binaries still mapping the PulseAudio libraries.
diff --git a/extra/pure-alsa-system/revert-to-using-pulseaudio.sh b/extra/pure-alsa-system/revert-to-using-pulseaudio.sh
index a15acc67e..2bbf22f77 100755
--- a/extra/pure-alsa-system/revert-to-using-pulseaudio.sh
+++ b/extra/pure-alsa-system/revert-to-using-pulseaudio.sh
@@ -10,5 +10,8 @@ for package in MPlayer alsa-lib alsa-plugins audacious-plugins ffmpeg \
libcanberra mpg123 phonon sox xine-lib ; do
upgradepkg --install-new --terse ../../slackware*/*/${package}-*.txz
done
-mv /etc/asound.conf.new /etc/asound.conf
+echo "Moving /etc/asound.conf.new to /etc/asound.conf:"
+mv --verbose /etc/asound.conf.new /etc/asound.conf
+echo "Making /etc/rc.d/rc.alsa non-executable."
+chmod 644 /etc/rc.d/rc.alsa
echo "System is converted back to using Pulseaudio."