瀏覽代碼

change pulse audio config files to be examples

Jake Day 6 年之前
父節點
當前提交
148e917631
共有 3 個文件被更改,包括 11 次插入1 次删除
  1. 0 0
      root/etc/pulse/daemon_example.conf
  2. 0 0
      root/etc/pulse/default_example.pa
  3. 11 1
      setup.sh

+ 0 - 0
root/etc/pulse/daemon.conf → root/etc/pulse/daemon_example.conf


+ 0 - 0
root/etc/pulse/default.pa → root/etc/pulse/default_example.pa


+ 11 - 1
setup.sh

@@ -67,7 +67,17 @@ if [ "$removexorg" = "yes" ]; then
 	echo "Removing the example intel xorg config..."
 		rm /etc/X11/xorg.conf.d/20-intel_example.conf
 else
-	echo "Not touching example intel xorg config"
+	echo "Not touching example intel xorg config (/etc/X11/xorg.conf.d/20-intel_example.conf)"
+fi
+
+read -rp "Do you want to remove the example pulse audio config files? (type yes or no) " removepulse;echo
+
+if [ "$removepulse" = "yes" ]; then
+	echo "Removing the example pulse audio config files..."
+		rm /etc/pulse/daemon_example.conf
+		rm /etc/pulse/default_example.pa
+else
+	echo "Not touching example pulse audio config files (/etc/pulse/*_example.*)"
 fi
 
 if [ "$SUR_MODEL" = "Surface Pro 3" ]; then