Commit Graph

1059 Commits (df13b9c32aa04dc17b71da18f48b834a31221566)

Author SHA1 Message Date
Andreas Schneider dc91d4b1f9 basic_install: If a static interface is already set up we are done
5 years ago
Mcat12 680d6e2d31
Merge branch 'release/v4.2' into development
5 years ago
Adam Warner ae654730c4
Update automated install/basic-install.sh
5 years ago
DL6ER ec79e86bee
We should really use stop_service as it also includes some nice output
5 years ago
DL6ER e8dabc71af
Don't try to start pihole-FTL after it has been installed. This will be done a few moments later when gravity is invoked.
5 years ago
DL6ER 9c0de0f731
Try to stop pihole-FTL before and (re)start pihole-FTL after the install command
5 years ago
DL6ER 4948862dce
Fail hard if FTL binary could not be installed
5 years ago
Mark Drobnak 1e284f69ea
Merge pull request #2587 from pi-hole/new/network-table
5 years ago
DL6ER 516ed83638
Add "|| true" to the curl command as a failed download is no show-stopper for the overall install process.
5 years ago
DL6ER cc657c0c26
Rename subroutine start_service() to restart_service() because this is what it does
5 years ago
DL6ER d90d7b6927
Call FTL download/installation early on in the installation process.
5 years ago
DL6ER de6dc90575
Don't diable pihole-FTL before calling install. root should be able to overwrite the binary in any case. The binary has already been downloaded and hash-verified here so we don't expect any errors in this binary.
5 years ago
DL6ER 3cdd6204c5
Move dnsmasq disabling and config file rewriting into a dedicated subroutine
5 years ago
DL6ER d996e9c9ee
Fix inconsistent handling of binary variable. get_binary_variable() stores the result into a global variable we pass later on as argument to FTLinstall() and define a local variable with the same name. This is fixed by only using the globa variable in all places not. This is still not a very elegant solution but it is also not subject of the current PR.
5 years ago
Mark Drobnak ebba32e1c4
Remove Norton DNS
5 years ago
Mark Drobnak 7d2507527a
Merge pull request #2593 from TheLastProject/feature/standardized-dns-list
5 years ago
Sylvia van Os 97decb3a73 Standardize DNS list and write to file for AdminLTE
5 years ago
DL6ER f360959efc
Download macvendor database from ftl.pi-hole.net when downloading a new FTL binary. Users who want to update the database more frequently than on each FTL release can use the python script from the FTL repository to generate the database themselves. The macvendor database is an optional component so a failing download is no reason to interrupt the installer.
5 years ago
bcambl 3035fbf468 remove unused dependency (bc)
5 years ago
DL6ER c5da1bb952
Add libcap as Fedora dependency
5 years ago
DL6ER 486c41a69a
Add Debain dependency libcap2 needed for FTL's capability check on startup
5 years ago
Florian Freund 0ef4901e48 Add a blank after printf to avoid 'Command not found' error
6 years ago
bcambl eca975a370 add sqlite3 dependency for fedora
6 years ago
bcambl 724afc000f add sqlite3 dependency for fedora
6 years ago
Mark Drobnak d24e0a6060
Merge pull request #2540 from pi-hole/release/v4.1
6 years ago
bcambl 14ebb2fb93 remove 'System' from NetworkManager connection name
6 years ago
Clayton Dobbs 3261c2e273
Added check for universe repo on ubuntu bionic with user prompts.
6 years ago
bcambl c3804877ed linting: Double quote to prevent globbing and word splitting.
6 years ago
bcambl c0bc93c7c4 break dhcpcd and ifcfg network configurations into separate functions
6 years ago
DL6ER e1c3c53058
Merge branch 'release/v4.1' into fix/adlists.list_not_created
6 years ago
Dan Schaper 057fbfc2b9
Change field from digit to string for printf
6 years ago
DL6ER 33156071cd
Fix literal "choice" being passed to appendToListsFile()
6 years ago
Dan Schaper e8c2e26358
Override shellcheck with explanations.
6 years ago
Dan Schaper 61c67849d7
Support multiple distributions and release versions in find_IPv4_information().
6 years ago
Mark Drobnak 2cdbb34763
Merge pull request #2488 from pi-hole/feature/command_function
6 years ago
Mark Drobnak 1789a2db29
Merge pull request #2384 from pi-hole/feature/install-privacy-level
6 years ago
Dan Schaper c270b83341
Use printf instead of echo
6 years ago
Dan Schaper 02f0788033
Moved `command -v` calls to function.
6 years ago
Dan Schaper 9d2d45b473
Query php directly for major and minor version id strings.
6 years ago
Dan Schaper 0c892e6b3a
Addressed Stickler ShellCheck lints
6 years ago
Dan Schaper a0fc38d6a2
All terminal echo commands changed to printf.
6 years ago
bcambl e7e03e36de fix pihole user creation function
6 years ago
Adam Warner cc2f375b13
fix for #2450
6 years ago
Mark Drobnak a89615365e
Merge pull request #2410 from stuartskelton/norton_dns_EOL_2018_11_15
6 years ago
Stuart Skelton 3c36c22ca8 Remove Norton Connect Safe as its EOL 2018-11-15
6 years ago
Mark Drobnak 6f276ae4bb
Merge pull request #2299 from nullr0ute/net-tools
6 years ago
Mark Drobnak 3cea1bd423
Fix lighttpd v1.4.50 crashing on startup
6 years ago
bcambl c58e3acc78 add unsupported RPM distro warnings
6 years ago
bcambl 6f8e8e98bb update centos version check test
6 years ago
bcambl 24b4aabae9 allow installer to continue with additional rpm based distros
6 years ago
DL6ER 1813c25117
If config file was backed up: Print info message
6 years ago
Mcat12 5d0d7336ff
Echo with newline when setting privacy level
6 years ago
Mcat12 6a26a05dbf
Fix privacy level whiptail option format
6 years ago
Mcat12 4aafa8cf47
Set the FTL privacy level during install
6 years ago
DL6ER 28c6b1393f
Backup existing /etc/dnsmasq.conf if present and ensure that /etc/dnsmasq.conf contains only "conf-dir=/etc/dnsmasq.d"
6 years ago
Realtebo 0d1b3cee4f Enable FTL service before starting it
6 years ago
Mirko Tebaldi 476fecbcf5 Fixed typos as suggestes
6 years ago
Mirko Tebaldi 327b58fa03
Merge pull request #1 from pi-hole/development
6 years ago
DL6ER d3eea9404d
Merge pull request #2331 from pi-hole/tweak/improve_FTL_download_errormsg
6 years ago
Realtbo d9195970b7 Create adlist file while running unattended setup
6 years ago
Mark Drobnak ef8aaba014
Merge pull request #2320 from TronPaul/fix/no-tty
6 years ago
DL6ER f5c3dc5d9d
Improve download error message that is shown when downloading or verifying the binary failed
6 years ago
Mcat12 e01eea8ba8
Remove PowerPC from FTL binaries
6 years ago
Dan Schaper 5b628a4c77
Merge branch 'development' into release/v4.0
6 years ago
Mark McGuire 0081a7ca92 set noninteractive during unattended install
6 years ago
Dan Schaper 993beab3b7
Changed wording.
6 years ago
Dan Schaper 06875f2cc9
Merge branch 'release/v4.0' into fix/parse_pihole-FTL.conf
6 years ago
Dan Schaper 448fc7231c
Installed to `/etc/pihole` as PI_HOLE_CONFIG_DIR variable.
6 years ago
Dan Schaper d0d030bafc
Moved file creation to proper function. Included bash variables for file
6 years ago
Dan Schaper 833131e15f
Merge pull request #2315 from pi-hole/fix/regex-file-ownership
6 years ago
Dan Schaper fb2810557a
Allow web user group to access regex.list
6 years ago
Mcat12 57af0ba0a4
Use `install` to make the regex file
6 years ago
Dan Schaper 17c1e64f7e
Moved FTL configuration copy in to scripts copy function.
6 years ago
Dan Schaper af13ceac24
Touch file as ${USER} instead of copying template.
6 years ago
Mcat12 a55cc55338
Only `touch` the regex file if it doesn't already exist
6 years ago
Dan Schaper b2fb3fd35a
Merge pull request #2310 from pi-hole/feature/pihole-FTL.conf
6 years ago
Mcat12 1a8d5fb4a9
Allow PHP to edit the regex file if installed
6 years ago
Mcat12 c73b5456eb
Fix "which" error leaking
6 years ago
Mcat12 3d87398721
Fix `check_service_active` leaking error output
6 years ago
Mark Drobnak 47b56d6123
Fix wrong git command flag
6 years ago
Dan Schaper 512d2dd5f8
Source git repo and not /opt location.
6 years ago
Dan Schaper ad20d5ac1c
Remove -t SOURCE and DIRECTORY reversal flag on install.
6 years ago
Dan Schaper b79ff05e29
Move template files to own subdir. Include pihole-FTL.conf in templates.
6 years ago
Borats Nolan 32b50f8188 Change the word "folder" to "directory" since the pi-hole is intended to run on rpi with Linux on it.
6 years ago
Dan Schaper 32cf94fc74
Merge pull request #2297 from pi-hole/bugfix/locales
6 years ago
Adam Warner 9b1356ad01
Revert #2282
6 years ago
Peter Robinson 45521b377a Use ip route rather than old net-tools route in chronometer.sh
6 years ago
Dan Schaper 46a366635c
Fixed locale issue, do not parse for string.
6 years ago
Dan Schaper 1877128fc4
Removes empty comment lines in basic-install.sh
6 years ago
Mark Drobnak 9cd674b528
Merge pull request #2282 from RamSet/tweak/Port53
6 years ago
RamSet 5aea7eb860 corrected function indentation
6 years ago
Mark Drobnak ec30df2020
Merge pull request #2277 from bcambl/centos_fedora_fixes
6 years ago
RamSet bb33427c79 fixed parsing error
6 years ago
RamSet 28a16cebda Addressed lint errors.
6 years ago
RamSet 49c79405bc changed flag and variable name
6 years ago
RamSet 3098f32a07 Fixed intentation and corrected comments.
6 years ago
Dan Schaper 69e06d89ff
Added missing for sourced file.
6 years ago
RamSet 56b04017e7 Port 53 check updated with 4 spaces.
6 years ago
bcambl fa9ecbdb81 add php-json to Fedora web deps
6 years ago
bcambl 2bf6b29b8f trigger an install/upgrade of PHP after enabling the Remi repository
6 years ago
Dan Schaper 9dba9fb366
Convert multiline echos to individual echo statements so they don't lead with different amounts of space.
6 years ago
Dan Schaper a323b126e5
Finished space conversion
6 years ago
Mark Drobnak 0651f1bcd4
Merge pull request #2220 from rrobgill/installedphpcheck
6 years ago
Rob Gill 11f0ade921
comments
6 years ago
Rob Gill 6381bdbf33
don't use major.minor for PHP 5
6 years ago
Mcat12 4a75566a3b
Merge remote-tracking branch 'origin/development' into tweak/32bitOS_on_64bitCPU
6 years ago
Rob Gill 52aa52c3b1
remove duplicate declaration
6 years ago
Mark Drobnak 6689e00e6a
Merge pull request #2212 from rrobgill/man-pages
6 years ago
Rob Gill a3569d88c9
Version strings & bash.
6 years ago
Adam Warner f2f6b6ede9
stickler complaints
6 years ago
Adam Warner 7f81cfd45a
Stats can still be generated without logging, no need for this sentence
6 years ago
Rob Gill 13b8e1a2ae
quotes.
6 years ago
Rob Gill 36dbdf955d
Update basic-install.sh
6 years ago
Rob Gill 714b6c98ef
codacy
6 years ago
Rob Gill 7181d7ae6a
Left that fi
6 years ago
Rob Gill 9422d57283
Check version of installed php
6 years ago
Dan Schaper feba4da0b8
Merge pull request #2161 from pi-hole/centos_remi-php7
6 years ago
Rob Gill ed7ebfd58d man page for pihole-FTL
6 years ago
Mark Drobnak 23fbb3cf22
Merge pull request #2205 from rrobgill/manual-page
6 years ago
Rob Gill 9970f3786f
Requested change
6 years ago
Rob Gill ef65bac79b
change status from INFO to CROSS
6 years ago
Rob Gill c0837c726f
blank space
6 years ago
Rob Gill ce5429aba7
stickler
6 years ago
Rob Gill aa191e9202
Update basic-install.sh
6 years ago
Rob Gill a8f0283e93
Update basic-install.sh
6 years ago
Rob Gill a8103ca22d
Manual page install function
6 years ago
Mark Drobnak 1a30043776
Merge pull request #1768 from Al2Klimov/bugfix/install-invalid-user
6 years ago
Alexander A. Klimov 3be1904653 basic-install.sh: fix "install: invalid user ''"
6 years ago
Rob Gill 20ccb7b558
move & clarify comments
6 years ago
Rob Gill 8cfe89604a
user-facing messages
6 years ago
Rob Gill c400b914e5
Update basic-install.sh
6 years ago
Rob Gill a431c829cb
Regex & case fix
6 years ago
Rob Gill 25d0e125e5
relocate as function
6 years ago
Rob Gill b89a78ce17
message text
6 years ago
Rob Gill adf2275018
unbind resolved on ubuntu 18.04
6 years ago
bcambl ec3802c180 add 'which' dependency (missing on Fedora minimal)
6 years ago
Adam Warner 76654c7856
Actually check for dnsmasq's existence before attempting to interact with it's service
6 years ago
Adam Warner a6e4b0fea5
- Test for existence of remote non-master branch of FTL before attemtping to check for update
6 years ago
bcambl 8ad37af70e CentOS install re-worked to include PHP7 via Remi repository
6 years ago
Adam Warner a07891e3e6
0 is not 1!!
6 years ago
Adam Warner e946a35b18
Move dnsmasq check into FTLcheckUpdate
6 years ago
Adam Warner 68d7337f98
switch up dnsmasq detection logic
6 years ago
Adam Warner 8b4198fd8d
Merge pull request #1835 from Fauxsys/development
6 years ago
Adam Warner e17e69604c
Merge branch 'development' into new/RemoveDefaultBlocklists
6 years ago
Adam Warner 0c8a32b9ae
No need to stop services
6 years ago
Adam Warner d8c60aaae7
Merge pull request #2142 from bcambl/fix_fedora_ip_check
6 years ago
Adam Warner 3216d65353
Merge branch 'development' into new/RemoveDefaultBlocklists
6 years ago
bcambl 1d8ea9e869 Fix static IP checking on Fedora
6 years ago
Adam Warner 8ead0b5483
@fourdee dropped this: `/`
6 years ago
Fauxsys 72c081cfd6 Fix for unattended installations #1767 #1768 #1834
6 years ago