This file contains 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
do_install_pivpn() { | |
#curl -L https://install.pivpn.io | bash | |
setupVars=/etc/pivpn/setupVars.conf | |
if [ -e "${setupVars}" ]; then | |
sed -i.update.bak '/pivpnUser/d;/UNATTUPG/d;/pivpnInterface/d;/IPv4dns/d;/IPv4addr/d;/IPv4gw/d;/pivpnProto/d;/PORT/d;/ENCRYPT/d;/DOWNLOAD_DH_PARAM/d;/PUBLICDNS/d;/OVPNDNS1/d;/OVPNDNS2/d;/SERVER_NAME/d;' "${setupVars}" | |
else | |
mkdir -p /etc/pivpn | |
touch "${setupVars}" | |
fi |
This file contains 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 | |
# The repo for Spreed WebRTC will not work, therefore: | |
ASK_INSTALL_SPREED=2 | |
CPUS=$(grep ^processor /proc/cpuinfo | wc -l) | |
do_install_spreed_webrtc() { | |
if [ -f $LOCK_DIR/spreed_webrtc-installed.lock ]; then | |
echo && echo "Spreed WebRTC is already installed and configured. Continuing..." && echo && sleep 1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.