add load-module module-switch-on-connect to root config

This commit is contained in:
chrys87 2017-02-14 00:51:53 +01:00 committed by GitHub
parent e31688718d
commit 1ab82e6aee

View File

@ -11,6 +11,7 @@ if [ -f "$xdgPath/pulse/default.pa" ]; then
read -p "This will replace the current file located at $xdgPath/pulse/default.pa, press enter to continue or control+c to abort. " continue
fi
echo '.include /etc/pulse/default.pa
load-module module-switch-on-connect
load-module module-native-protocol-unix auth-anonymous=1 socket=/tmp/pulse.sock' > $xdgPath/pulse/default.pa
echo "If you have not yet done so, please run this script as root to write the client.conf file."
else