Don't need sudo to echo to term.

This commit is contained in:
Dan Schaper 2016-10-05 10:16:56 -07:00
parent e8bb4a7e36
commit 3600fd277e

View file

@ -524,8 +524,8 @@ versionCheckDNSmasq(){
installScripts() { installScripts() {
# Install the scripts from /etc/.pihole to their various locations # Install the scripts from /etc/.pihole to their various locations
${SUDO} echo ":::" echo ":::"
${SUDO} echo -n "::: Installing scripts to /opt/pihole..." echo -n "::: Installing scripts to /opt/pihole..."
${SUDO} install -o "${USER}" -m755 -d /opt/pihole ${SUDO} install -o "${USER}" -m755 -d /opt/pihole
cd /etc/.pihole/ cd /etc/.pihole/
@ -545,7 +545,7 @@ installScripts() {
fi fi
done done
${SUDO} echo " done." echo " done."
} }
installConfigs() { installConfigs() {