Commit Graph

  • fc89851ce9 Merge pull request #805 from pi-hole/development v2.9.4 Jacob Salmela 2016-10-17 22:41:02 -05:00
  • c4c6555814 Merge branch 'master' into development Dan Schaper 2016-10-17 19:57:05 -07:00
  • df0087fb23 Merge pull request #804 from pi-hole/hotfix/curlRefire Dan Schaper 2016-10-17 19:27:46 -07:00
  • ef3c13fe2b Refire with curl Dan Schaper 2016-10-17 19:22:56 -07:00
  • 0ad704e532 Update .gitattributes Dan Schaper 2016-10-17 18:31:06 -07:00
  • 2220d2dab8 Create .gitattributes Dan Schaper 2016-10-17 18:28:38 -07:00
  • 49f48e2aaa wrong word. #admincrimes Promofaux 2016-10-17 22:24:59 +01:00
  • dce24df379 Merge pull request #794 from pi-hole/development v2.9.3 Adam Warner 2016-10-17 15:45:21 +01:00
  • b59136c262 Merge pull request #800 from bcambl/ifcfg_backup Adam Warner 2016-10-16 22:15:39 +01:00
  • fb9664b636 fix typo bcambl 2016-10-16 15:11:47 -06:00
  • 5b736ae05e Merge pull request #799 from bcambl/ifcfg_backup Adam Warner 2016-10-16 20:50:54 +01:00
  • ee114b3075 use an excluded extension for ifcfg backup bcambl 2016-10-16 13:28:14 -06:00
  • 123b16991b Merge pull request #798 from pi-hole/dnsmasqrestartchange Adam Warner 2016-10-16 17:25:30 +01:00
  • 5792fc0bef change wording depending on choice Promofaux 2016-10-16 17:23:26 +01:00
  • 42c93917ef bug I forgot to fix before piholeUpdate was merged to development Promofaux 2016-10-16 17:19:44 +01:00
  • 8c0f860601 Use systemctl/service calls instead of killall to restart/reload dnsmasq Promofaux 2016-10-16 17:16:59 +01:00
  • df30a4c0d1 Merge pull request #779 from bcambl/fedora_fixes Adam Warner 2016-10-16 15:46:50 +01:00
  • 9ce13f0035 Merge pull request #790 from pi-hole/piholeUpdate Adam Warner 2016-10-15 23:51:07 +01:00
  • 3884b01503 Forgot a Promofaux 2016-10-15 23:21:13 +01:00
  • a84c3adeab if uniformity then dan = happy Promofaux 2016-10-15 23:19:26 +01:00
  • a65b784907 repeat after me: repetition is a bit repetitive. Promofaux 2016-10-15 21:26:41 +01:00
  • 05dadad2e1 repair sounds better than refresh Promofaux 2016-10-15 21:22:46 +01:00
  • 3a9b39b842 adjust text in update_dialogs() whiptail Promofaux 2016-10-15 21:12:13 +01:00
  • e612003293 handle arguments better, convert to flags, echo when they're set to true. Promofaux 2016-10-15 20:52:20 +01:00
  • a43577fa26 add reconfigure flag to -r command Promofaux 2016-10-15 20:43:03 +01:00
  • 7e10dcdcf0 update pihole bash-completion Promofaux 2016-10-15 20:12:16 +01:00
  • 7ee1110351 ugh. pihole.conf. Promofaux 2016-10-15 20:09:38 +01:00
  • 51c4c51d9e Add trap to check existence of setupVars Promofaux 2016-10-15 20:03:33 +01:00
  • fc4fe54099 standardise function naming Promofaux 2016-10-15 20:02:57 +01:00
  • b5b240d0be Merge pull request #789 from pi-hole/legacy_setupVars Dan Schaper 2016-10-15 11:41:58 -07:00
  • 4c42f00a86 remove uses of ${SUDO} and root check from gravity. As this is handled by pihole command. Promofaux 2016-10-15 18:42:53 +01:00
  • 090fbd04af Remove ${SUDO} usages and root checks from scripts called by pihole command as they should not be called directly. Promofaux 2016-10-15 17:54:04 +01:00
  • 461de48625 function declarations as per basic-install.sh Promofaux 2016-10-15 17:25:17 +01:00
  • 9352ba6e4a about time we exit 0'd Promofaux 2016-10-15 17:16:44 +01:00
  • 5e883239f9 remove calls for ${SUDO} as per basic-install.sh. Promofaux 2016-10-15 17:15:59 +01:00
  • 5ea08a2120 add -r to reconfigure pihole (basically runs basic-install.sh from /etc/.pihole) Promofaux 2016-10-15 17:07:08 +01:00
  • a6fa60868b spacing Promofaux 2016-10-15 15:41:48 +01:00
  • 99878ae7d6 reflect name change of some of the variables in setupVars Promofaux 2016-10-15 15:40:12 +01:00
  • 26202014a2 stdout formatting bcambl 2016-10-12 20:23:12 -06:00
  • f4f8b96788 remove systemd selinux rules on init systems bcambl 2016-10-12 20:08:22 -06:00
  • e5ede16749 update yum/dnf package count grepfu bcambl 2016-10-12 20:04:20 -06:00
  • fbe3547129 EPEL is not required on Fedora bcambl 2016-10-11 00:01:11 -06:00
  • 23f7363c70 Merge pull request #774 from pi-hole/InstallFixes2 Dan Schaper 2016-10-12 11:47:15 -07:00
  • 97c44042e1 Adding failing shellcheck test and results diginc 2016-10-10 23:18:05 -05:00
  • a03caea549 setupVar tests passing for debian & centos diginc 2016-10-10 23:14:39 -05:00
  • aa23fb1d56 choose* Promofaux 2016-10-10 22:34:12 +01:00
  • 4f35aac6dd transpose $ and " Promofaux 2016-10-10 22:32:30 +01:00
  • 4418ca9e9f Missing quote replacement. Dan Schaper 2016-10-10 11:41:29 -07:00
  • 570611fc09 CentOS Firewall fix Dan Schaper 2016-10-10 11:30:15 -07:00
  • 94dd5b1ebe More CentOS fixes. Dan Schaper 2016-10-10 11:05:29 -07:00
  • 74524e024d Always check PIHOLE_dependencies. Dan Schaper 2016-10-10 10:36:19 -07:00
  • 324e00194f Merge pull request #766 from pi-hole/Mcat12-move-contributor Adam Warner 2016-10-10 17:35:22 +01:00
  • e42b6dcc8e create_pihole_user update @diginc. Dan Schaper 2016-10-10 09:21:28 -07:00
  • d71b799e75 More cleanups, localize variables, clean formatting. Dan Schaper 2016-10-10 08:23:14 -07:00
  • 87e7121332 Gravity.sh checks for null value for variables, obliging that expectation. Dan Schaper 2016-10-10 07:32:16 -07:00
  • 94f6354c94 Spinner blocks set -e trying to get it in functions that won't crash out... Dan Schaper 2016-10-10 07:25:43 -07:00
  • b79059ebdb Start to add the spinner back in! Dan Schaper 2016-10-10 06:46:30 -07:00
  • 07b7e8a1a6 Track down a couple more variable name changes. Dan Schaper 2016-10-10 06:33:56 -07:00
  • 7ae2fc37c0 Match up descriptive variable names with setupVars.conf. Rectifies Ubuntu 16.04 gravity.list bug. Dan Schaper 2016-10-10 06:23:17 -07:00
  • 4f98c1bebb Boolean operators inside quotes don't work well... Dan Schaper 2016-10-10 06:16:00 -07:00
  • 2feec01e10 Add start_service and enable_service functions to handle restating services and setting services to start on reboot. Dan Schaper 2016-10-10 06:06:34 -07:00
  • 72b95e192e Fix logic bug in setup_user, update how setupVars are sourced so they will only be used if the user selects update and not if they select install. Dan Schaper 2016-10-10 05:45:37 -07:00
  • 47aad254d8 localized some more variables Dan Schaper 2016-10-10 03:56:03 -07:00
  • bc14074d2a Tighten up Update Whiptail appearance. Dan Schaper 2016-10-10 03:39:32 -07:00
  • 5ab5b1a190 Overhaul dnsmasq version 3 way handshake configuration files. Dan Schaper 2016-10-10 03:23:52 -07:00
  • b055f190f5 Factor out interfaces detection. Dan Schaper 2016-10-10 03:16:22 -07:00
  • 84b8953352 Remove quiet flags from package managment variables. Set quiets in functions by redirecting output. Dan Schaper 2016-10-10 02:58:38 -07:00
  • 93a591d487 Linting from ShellCheck Dan Schaper 2016-10-10 02:57:04 -07:00
  • e6c0f38a7c Monolithic changes in one commit again. Dan Schaper 2016-10-10 02:24:03 -07:00
  • d169305e5d Merge branch 'Fix/installerIssues' into development Dan Schaper 2016-10-10 09:08:35 +00:00
  • f107ae4f9b Merge conflict resolution Dan Schaper 2016-10-10 09:08:25 +00:00
  • bad7a08804 Refactor and rename create_pihole_user. Now to actually use the user created... Dan Schaper 2016-10-10 01:51:19 -07:00
  • 25cbf4cb35 Factor out legacy location script removal. Dan Schaper 2016-10-10 01:43:10 -07:00
  • 7f179f9a58 Remove sourcing bash completion, would fall off as soon as the subshell terminated. Dan Schaper 2016-10-10 01:40:56 -07:00
  • 5287ea8537 Refactor stopServices into stop_service and accept arguments for service to stop. Quiet output from a few other functions. Dan Schaper 2016-10-10 01:25:11 -07:00
  • 43e2aaebf0 rename updateDialogs to update_dialogs Dan Schaper 2016-10-10 01:04:59 -07:00
  • e60eb66283 UpdateDialogs are now a Whiptail Menu, self-explanatory. Dan Schaper 2016-10-10 01:04:03 -07:00
  • ca59b808d8 Git clone/update now occurs right after installer dependency checks. Allows for inclusion of installer source files in the repo. Passes set -e Dan Schaper 2016-10-10 00:02:50 -07:00
  • 8a15fd44d5 Update is_repo() to use git status for validity checks. Dan Schaper 2016-10-09 23:53:18 -07:00
  • dac2b8942e Typo fix to generate commit. Dan Schaper 2016-10-09 22:38:00 -07:00
  • 54a1c5b63a Revert inadvertent commits Dan Schaper 2016-10-09 22:35:14 -07:00
  • 61b02bf6d3 Add OR TRUE to PKG_COUNT so that a 0 package to update doesn't grep -c to an exit value of 1. Dan Schaper 2016-10-09 22:27:37 -07:00
  • 9d048b2fdf Move Pi-hole dependency checks to main() and out of duplicated install and update functions. Bring them up a level in the subshells. Dan Schaper 2016-10-09 22:24:13 -07:00
  • d9e28a7422 factor out installer_dependencies Dan Schaper 2016-10-09 22:05:06 -07:00
  • 1fecdf42ca Move git to installer deps, refactor some functions. Dan Schaper 2016-10-09 22:00:23 -07:00
  • d4bf85b67c Self contain package_check into package_check_install. Passes set -e test. Dan Schaper 2016-10-09 21:44:45 -07:00
  • 7131ff27c3 Attempt to set -e Dan Schaper 2016-10-09 21:32:25 -07:00
  • a30f78c1c8 Oneliner php version check, passes set -e check. Dan Schaper 2016-10-09 21:31:36 -07:00
  • 7e0afffca8 Revert inadvertent commits Dan Schaper 2016-10-09 19:41:32 -07:00
  • 293c60fb9c Exit script on failure to install dependent package. Dan Schaper 2016-10-09 13:52:36 -07:00
  • f5be8b2a5e Single dependency package check function, will exit if any errors with message to update cache. Dan Schaper 2016-10-09 13:43:01 -07:00
  • 6772603c15 Relocate cache check to its own function Dan Schaper 2016-10-09 12:34:53 -07:00
  • a22904f99b Merge pull request #769 from pi-hole/Fix/PackageCacheFresh Jacob Salmela 2016-10-09 09:00:52 -05:00
  • 6710d2852f Merge pull request #770 from pi-hole/Fix/InstallerWrap Jacob Salmela 2016-10-09 08:41:47 -05:00
  • b157bc5cd7 Fixes #768 Check the staleness of the package index instead of the package cache. Dan Schaper 2016-10-08 13:47:35 -07:00
  • 10e1a03c76 runGravity is called after finalExports in the Debian install side. Dan Schaper 2016-10-08 12:58:42 -07:00
  • d20df92e9f Script will now run as root, removed sudo from function calls. Dan Schaper 2016-10-08 12:56:26 -07:00
  • 44170207ac Add main function and fire script from main call. Prevents script from running before it is entirely downloaded. Dan Schaper 2016-10-08 12:17:04 -07:00
  • 9354799a26 Move contributer file Mcat12 2016-10-08 12:06:23 -04:00
  • 33745be745 Merge pull request #753 from pi-hole/feature/RemoveBarePHP Dan Schaper 2016-10-07 21:32:07 -07:00