1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-10-19 06:19:26 +00:00
pi-hole/advanced/Scripts
Ludovic Rousseau 3b229489c2 Fix regex to find DBFILE= from configuration file
The regex ^\s^.DBFILE\s*=\s* does not work to match "DBFILE="
I don't know what the second '^' is used for.

With the change I now have the results:

DBFILE=/foo/bar
-> /foo/bar

  DBFILE=/foo/bar
-> /foo/bar

 # DBFILE=/foo/bar
-> /etc/pihole/pihole-FTL.db

xDBFILE=/foo/bar
-> /etc/pihole/pihole-FTL.db

Signed-off-by: Ludovic Rousseau <ludovic.rousseau@free.fr>
2018-04-13 11:16:50 +02:00
..
chronometer.sh Add RaspberryPi 3B+ 2018-03-27 12:23:01 +02:00
COL_TABLE Ensure colour consistency between terminal themes 2017-09-05 23:28:33 +10:00
list.sh Use " " to protect parameter substitution 2018-02-18 21:20:04 +01:00
piholeCheckout.sh don't forget master and development branches! 2018-03-07 21:48:09 +00:00
piholeDebug.sh Merge pull request #1987 from ryanknapper/patch-1 2018-04-02 00:00:14 -04:00
piholeLogFlush.sh Fix regex to find DBFILE= from configuration file 2018-04-13 11:16:50 +02:00
setupLCD.sh
update.sh
updatecheck.sh Use "echo -n" to avoid haveing newlines in the files 2017-12-23 11:52:27 +01:00
version.sh
webpage.sh Merge pull request #1915 from ryanknapper/development 2018-02-18 12:51:46 -05:00