From cc745d8b378a9066580a6cf4301b40bb2df85dcb Mon Sep 17 00:00:00 2001 From: ryt51V Date: Wed, 2 Mar 2016 21:36:12 +0000 Subject: [PATCH] Missing comma in sudoersContent. --- automated install/basic-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 1d09acc3..3ff1ad6a 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -677,7 +677,7 @@ installSudoersFile() { # Install the file in /etc/sudoers.d that defines what commands # and scripts the pihole user can elevate to root with sudo. sudoersFile='/etc/sudoers.d/pihole' - sudoersContent="pihole ALL=(ALL:ALL) NOPASSWD: /usr/local/bin/piholeReloadServices.sh /usr/local/bin/piholeSetPermissions.sh" + sudoersContent="pihole ALL=(ALL:ALL) NOPASSWD: /usr/local/bin/piholeReloadServices.sh, /usr/local/bin/piholeSetPermissions.sh" echo "$sudoersContent" > "$sudoersFile" # chmod as per /etc/sudoers.d/README chmod 0440 "$sudoersFile"