Copy ads list

This commit is contained in:
Bob Mottram 2016-10-30 13:27:16 +00:00
parent d9e945b5e7
commit 6b7049a5d3
1 changed files with 1 additions and 3 deletions

View File

@ -55,9 +55,7 @@ pihole_variables=(ONION_ONLY
function pihole_copy_files {
cp $INSTALL_DIR/pihole/adlists.default $piholeDir/adlists.default
if [ ! -f $PIHOLE_ADLIST ]; then
cp $INSTALL_DIR/pihole/adlists.default $PIHOLE_ADLIST
fi
cp $INSTALL_DIR/pihole/adlists.default $PIHOLE_ADLIST
cp $INSTALL_DIR/pihole/advanced/Scripts/* /opt/$piholeBasename
cp $INSTALL_DIR/pihole/advanced/01-pihole.conf /etc/dnsmasq.d/01-pihole.conf
cp $INSTALL_DIR/pihole/advanced/pihole.cron /etc/cron.d/pihole