This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo Adding microphone to Pulseaudio | |
grep -qxF 'load-module module-alsa-source device=hw:0,99' /etc/pulse/default.pa || echo 'load-module module-alsa-source device=hw:0,99' >> /etc/pulse/default.pa | |
echo Adding headphone to Pulseaudio | |
grep -qxF 'load-module module-alsa-sink device=hw:0,1' /etc/pulse/default.pa || echo 'load-module module-alsa-sink device=hw:0,1' >> /etc/pulse/default.pa | |
echo Adding headset microphone to Pulseaudio |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -v | |
#some code edited from [email protected] | |
#Modified script by https://github.com/rypz79, taken from https://github.com/anbox/anbox/issues/894#issuecomment-420766769 | |
#Tested with SuperSU-v2.82-201705271822 only!! Check test system details in comments. | |
set -e | |
#get zip file and set workdir | |
mkdir -p ~/temp |