Copy ads list
This commit is contained in:
parent
d9e945b5e7
commit
6b7049a5d3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue