Commit Graph

1049 Commits (ee7090b8fcb11f090741b33eb68822bcc96135e6)

Author SHA1 Message Date
DL6ER 4371c9ba03
Ensure proper permissions are set for gravity.db after creation.
5 years ago
B. Olausson ecd6817aaf
This change fixes issue #145 "stty: standard input: Inappropriate ioctl for device ".It checks if a real terminal exist, if not it sets the screen size to a fixed value. This helps to avoid nasty and unnecessary logs when running "pihole -up" via e.g. cron.
5 years ago
Mark Drobnak 3420439f31
Merge pull request #2820 from pi-hole/fix/ftl-update-no-network
5 years ago
Mcat12 38ff343134
Print an error message if the FTL release metadata download fails
5 years ago
Mcat12 c3ec2e68ad
Remove the ZeusTracker blocklist from the defaults
5 years ago
Mcat12 c156af020c
Use suggested array creation to fix linter error
5 years ago
Mark Drobnak fa8751f9ad
Fix error when checking if IP address is valid
5 years ago
bcambl ec850dc820 add chkconfig to INSTALLER_DEPS (CentOS/Fedora)
5 years ago
Mcat12 37e7cd5211
Fix ShellCheck issue by refactoring a bit
5 years ago
Mcat12 91a2d052a7
Fix pihole -up showing FTL update when network is down
5 years ago
Mcat12 c8987e20c2
Use the filtered IPv6 OpenDNS servers
5 years ago
Dan Schaper 7de6bbca61
Merge branch 'development' into release/v4.3
5 years ago
David Haguenauer be3a21ae07 Put quotes at ends of strings
5 years ago
David Haguenauer 69081a9175 Drop indirection from install_dependent_packages
5 years ago
David Haguenauer ab2f8a0c09 Quote variables in basic-install.sh
5 years ago
Mcat12 8e1bf6e3d4
Merge branch 'development' into new/gravitydb
5 years ago
pvogt09 efbd42f7b5 Moves creation of pihole user before FTL installation
5 years ago
pvogt09 e076db5a4e Changes ownership of macvendor.db to pihole
5 years ago
pvogt09 2e6198077d chmod 644 adlists.list
5 years ago
DL6ER 95150a5d85
Clone twenty instead of only one commit when installing Pi-hole. This ensures that we clone at least one tagged commit in case we need to push changes to master.
5 years ago
pvogt09 4d23b3267f Adds X to chmod for git operations
5 years ago
pvogt09 e19adccd9c Moves chmod for /var/www/html into INSTALL_WEB_SERVER block
5 years ago
pvogt09 a25f331e83 Adds chmod 644 for /var/www and /var/www/html
5 years ago
pvogt09 69c06ba6fe Sets permissions for dnsmaq.conf
5 years ago
pvogt09 2c3a27e9c7 Replaces cp chmod with install and add read permission to repository files after checkout and pull
5 years ago
pvogt09 8a92fb24c4 Incorporates changes requested by @Mcat12
5 years ago
pvogt09 5c575e73c7 Adds world readable attribute to files created by Pi-hole to circumvent #2724
5 years ago
Mcat12 466fd79c66
Fix getting IP address in the presence of similar subnets
5 years ago
DL6ER 0efc46260f
Use both old and new strings for detecting whether this is a Pi-hole dnsmasq config file
5 years ago
DL6ER ee4dabeca6
Merge branch 'development' into new/gravitydb
5 years ago
DL6ER c13ebd3a9d
Replace Pi-hole ID string with another line we intend to keep
5 years ago
Jan Piskvor Martinec 037737d653 Show $UPDATE_PKG_CACHE content in error message.
5 years ago
Mcat12 78c0c58946
Add a link to the documentation on FTL privacy levels during install
5 years ago
DL6ER 9867b7fccf
Don't fail when trying to detect OS architecture on RPM-based systems
5 years ago
Andreas Schneider 860ec1a7c4 basic_install: Use install for sudoers
5 years ago
Andreas Schneider 2f189cd076 basic_install: There is no pihole group, remove it
5 years ago
Andreas Schneider 2f0e6a6dda basic_install: Make sure the PI_HOLE_CONFIG_DIR exists
5 years ago
Andreas Schneider f187b42a98 basic_install: Define webroot globally as a variable
5 years ago
Andreas Schneider 838e1b19ec basic_install: Set permissons for PI_HOLE_DASHBOARD_DIR
5 years ago
Andreas Schneider d5bbb2b640 basic_install: Use a varibale for the pihole dashboard dir
5 years ago
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