Commit Graph

847 Commits (844f07757d971a892a1468e66f39617812bb6fde)

Author SHA1 Message Date
DL6ER b89154ca30
Worked in review comments, inlined script content (we don't actually need setcap in the systemd unit as setcap is used in the installer/updater and even in the Makefile so capabilites should always be there)
6 years ago
DL6ER e0d41c4a60
Rename systemd unit file inside the repo to confuse Github less
6 years ago
DL6ER 39ead75b86
Quote to prevent word splitting (although not expected to see spaces in there)
6 years ago
DL6ER fb00b5ab17
Use exit code directly
6 years ago
DL6ER df49761e45
Select init.d or systemd unit depending on used init system
6 years ago
DL6ER ee0cf07ee3
Install both, init.d and systemd scripts
6 years ago
DL6ER b1f483394e
Set permissions for pihole-FTL.service to 644 (rw-r--r--)
6 years ago
DL6ER cd332a8eca
Remove old init.d script if present as it cannot coexist with the systemd unit we are installing now
6 years ago
DL6ER 9b0aa6e561
Enable systemd service unit + set capabilities for executable after installing the two files
6 years ago
Adam Warner 310d33b8ee
Merge dev > FTLDNS fix merge conflicts
6 years ago
Mark Drobnak 331472b592
Merge pull request #1999 from pi-hole/tweak/RedundantInstallCode
6 years ago
Adam Warner f37b2bc7c1
move call to `get_binary_name` into `FTLcheckUpdate()` to avoid having to run that first
6 years ago
Adam Warner b1d6c03190
Break out binary name funtion to it's own function
6 years ago
Everett Southwick a8b493cb7d Add support for public Cloudflare DNS servers.
6 years ago
Mark Drobnak a1d6ef04ec
Merge pull request #1758 from mettacrawler/fix-for-RHELish-ifcfg
6 years ago
Adam Warner 238a56cac3
Remove CreateLogFile function, as this is handled by the FTL service
6 years ago
Adam Warner 51765b1f65
chown pihole log to pihole:pihole, rather than pihole:root
6 years ago
Mark Drobnak e131395cce
Merge pull request #2037 from justinamcafee/master
6 years ago
Adam Warner d26ea2b948
remove trailing whitespace
6 years ago
Adam Warner e2e8b733a8
tidy up function
6 years ago
Adam Warner f18bf35b20
use `systemctl is-enabled` to check enabled status of service
6 years ago
Adam Warner 44d8cb77e3
Kill off `mask_service` function
6 years ago
Adam Warner b92ccb2de4
Additionally `mask` the dnsmasq service on systems with systemctl
6 years ago
justinamcafee 30af6e73be
added ;; to line 825
6 years ago
justinamcafee 2895b9bfb7
Added support for FamilyShield from OpenDNS
6 years ago
Adam Warner 84bd86f1ee
- Test to see if dnsmasq service is enabled before stopping and disabling it.
6 years ago
Adam Warner 7193f40b87
remove libnettle, missed a >/dev/null
6 years ago
Adam Warner acd69fa4b0
silence push/popd
6 years ago
Adam Warner 6584933e92
fix stickler complaints
6 years ago
Adam Warner 8cf8da4c78
- Check file /etc/pihole/ftlbranch for current FTL branch, download from github if master, or pi-hole.net if other
6 years ago
Adam Warner cadab61a21
Merge branch 'development' into FTLDNS
6 years ago
Dan Schaper 3425b9a82e
Fix mktmp > mktemp
6 years ago
DL6ER fcdc85eab8
Remove dnsmasq from dependencies
6 years ago
Dan Schaper 4606693e62
Use pushd/popd and create random temporary directory to prevent potential backdoor binary injection.
6 years ago
Adam Warner e61d8e4fb8
adlists.default no longer used. No need to reference it.
6 years ago
DL6ER 8b79017d0f
Always replace pihole-FTL.service
6 years ago
DL6ER 5465ac9ba0
Merge pull request #1929 from pi-hole/fix/flushDB
6 years ago
Mark Drobnak 3472241289
Merge pull request #1962 from floek/master
6 years ago
Florian Freund a944b6ff79 Fixes https://github.com/pi-hole/pi-hole/issues/1772
6 years ago
Sebastian Pucilowski c5a2ca5c98 Trivial spelling mistakes in basic-install.sh comments
6 years ago
Elias Ojala 2b6d9c34c9 Fixed a typo
6 years ago
DL6ER 158ea1d43b
Add sqlite3 dependency
6 years ago
Mark Drobnak 535b8458d4
Merge pull request #1901 from bcambl/epel_check
6 years ago
Dan Schaper 9543203610
Echo the right location for the log.
6 years ago
Dan Schaper cacfe4d387
Linting changes
6 years ago
Dan Schaper a7f0137e5f
Use more secure installation log process.
6 years ago
Dan Schaper b2eb364a4b
Update header
6 years ago
Dan Schaper bb3b1bc6ba
Move ascii berry to after root check, stops the double berry for the sudo refire.
6 years ago
bcambl cc47bf8f6c Fix epel-release install for CentOS
7 years ago
DL6ER a154f1540f
Merge pull request #1778 from loganaden/development
7 years ago