Dan Schaper
b011fe28d9
No longer need a reboot
9 years ago
Dan Schaper
b318d5350c
Merge branch 'IPCheck' of https://github.com/dschaper/pi-hole into IPCheck
9 years ago
Dan Schaper
21ee63b7fb
Get IP info from outgoing interface
...
Use IP to get interface information from outgoing interface. Use CIDR notation to make things easier.
9 years ago
Dan Schaper
4057a076a2
Merge pull request #9 from dschaper/upstream
...
Upstream sync
9 years ago
Dan Schaper
6e13134328
Revert FHS change until merged
9 years ago
Dan Schaper
29ae66c6db
Check IP info for outgoing interface
9 years ago
Jacob Salmela
464003d674
uninstall script
...
This should remove the Pi-hole.
9 years ago
Cole Turner
03bbef07b5
pinholeIP should only use one IP
...
Updated piholeIP because if there are multiple network adapters, the gravity list will populate incorrectly with both IP addresses. Only one address should be used.
9 years ago
Jacob Salmela
ecb514dd0a
pihole in the cloud link
9 years ago
Jacob Salmela
04f6c478cc
Updated install instructions
...
Also a screenshot of the dialog-based installer
9 years ago
Dan Schaper
20399b8262
Build array of active domains to concatenate
...
Fix #86 Builds an array of active domains, and then loops through that list to pick files to concatenate after truncating Matter.
9 years ago
Dan Schaper
e2b518568e
Forgot to start the directory check function
9 years ago
Dan Schaper
100cbd4032
Merge pull request #7 from dschaper/upstream
...
Upstream
9 years ago
Dan Schaper
673113cb98
Merge pull request #6 from jacobsalmela/master
...
Upstream sync
9 years ago
Dan Schaper
a5d29a1048
Fix function ordering
...
Unique is now called after the comments are scrubbed from the unified domain list.
9 years ago
Dan Schaper
4f1bb12d36
More functions
...
Splitting into more functions
9 years ago
Dan Schaper
3d22e3bb7d
Merge pull request #5 from dschaper/refactor
...
Code refactoring
9 years ago
Dan Schaper
af909e0ee6
Copyright issues
...
Some of the blocklists are copyright and need to be pulled and stored as is. They can be processed further in the script to remove comments.
9 years ago
Dan Schaper
fe46afd08d
More functions
...
More refactoring
9 years ago
Dan Schaper
a1e609d005
Ugly hack permissions
...
Temporary hack for /etc/pihole directory and file permissions to pull out sudo requirement. (Irony is that is requires sudo.) This will be fixed later, but for now it's needed for existing installs so they don't break.
9 years ago
Dan Schaper
668d14e32d
Add functions
...
Start to add functions for code reuse
9 years ago
Dan Schaper
f02c37ec07
Start code refactor, eliminate some repetitive code
...
Begin code refactor prepatation, prevent DRY where possible.
9 years ago
Jacob Salmela
4e50a03dfc
uninstall script
...
This should remove the Pi-hole.
9 years ago
Jacob Salmela
a3a244c4af
Merge pull request #82 from colepatrickturner/master
...
pinholeIP should only use one IP
9 years ago
Cole Turner
d0e9e90ebe
pinholeIP should only use one IP
...
Updated piholeIP because if there are multiple network adapters, the gravity list will populate incorrectly with both IP addresses. Only one address should be used.
9 years ago
Jacob Salmela
1578a28363
pihole in the cloud link
9 years ago
Dan Schaper
9c13d2d88b
Merge pull request #3 from jacobsalmela/master
...
Upstream sync
9 years ago
Jacob Salmela
b005da395f
Updated install instructions
...
Also a screenshot of the dialog-based installer
9 years ago
Jacob Salmela
1b47a42792
Merge pull request #74 from dschaper/CherryPick
...
Cherry pick from PR73
9 years ago
Jacob Salmela
d477021532
Merge pull request #75 from dschaper/ConflictBreaker
...
Resolve merge conflicts
9 years ago
Dan Schaper
b895235ec1
Merge pull request #2 from dschaper/ConflictBreaker
...
Resolve merge conflicts
9 years ago
Dan Schaper
3a01b370d3
Merge pull request #1 from dschaper/CherryPick
...
Cherry pick
9 years ago
dschaper
689426180a
Resolve merge conflicts
9 years ago
Jacob Salmela
d0d165ad16
chmod the log flusher
9 years ago
Jacob Salmela
0cb20fc080
typo
9 years ago
Jacob Salmela
dee3df4e11
download master gravity
9 years ago
Jacob Salmela
814873c643
reboot logic
9 years ago
Jacob Salmela
0936e394d4
reboot only if new IP was set
9 years ago
Jacob Salmela
ad91eb44fb
choose an interface
...
also fixing ipv6 logic
9 years ago
Jacob Salmela
76c217d9cc
moving to functions
...
Also download the whitelist script. Ask for donations for IPv6 support.
9 years ago
Jacob Salmela
46b4000e75
reboot works better
9 years ago
Jacob Salmela
8ac8aa72ce
Closing dialog
...
Also starting the Pi-hole and restarting networking.
9 years ago
Jacob Salmela
8df376860c
simple function to run install commands
...
The arrays were cool, but I think this just works easier.
9 years ago
Jacob Salmela
eec0a31216
trying text output
...
I commented out the whiptail dialog at the end in place of text so you
can see what is going on. I also install the crontab.
9 years ago
Jacob Salmela
fb3fde3d19
testing with no reboot
9 years ago
Jacob Salmela
1482b9563c
does gravity use static IP?
...
The changes to the gravity script check for a temp file containing the
static address set during the install. I need to verify it works so I
have to change the URL. I will change it back before merging with
master.
9 years ago
Jacob Salmela
6d989f9160
overwrite html folder
...
If the files already exist, the installer stalls out because it asks if
you want to replace the existing files. the -o option forces an
overwrite.
9 years ago
Jacob Salmela
f37990351e
dumb mistake
...
fixed the variable name
9 years ago
Jacob Salmela
a44591ca6b
fix permission denied for log file
...
Just use a temporary file and then move it over once the install is
complete.
9 years ago
Jacob Salmela
37f255d761
save output to log file instead
...
Since the progress bar hides the output now. Instead of destroying it,
send it to a log file instead so users who want to see it still can.
9 years ago