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