mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 10:43:55 +00:00
Merge pull request #1052 from pi-hole/fix/missing_modules
Detect missing kernel modules
This commit is contained in:
commit
d1ccd7a460
1 changed files with 9 additions and 5 deletions
|
@ -734,6 +734,7 @@ notify_package_updates_available() {
|
|||
updatesToInstall=$(eval "${PKG_COUNT}")
|
||||
echo " done!"
|
||||
echo ":::"
|
||||
if [[ -d "/lib/modules/$(uname -r)" ]]; then
|
||||
if [[ ${updatesToInstall} -eq "0" ]]; then
|
||||
echo "::: Your system is up to date! Continuing with Pi-hole installation..."
|
||||
else
|
||||
|
@ -741,6 +742,9 @@ notify_package_updates_available() {
|
|||
echo "::: We recommend you update your OS after installing Pi-Hole! "
|
||||
echo ":::"
|
||||
fi
|
||||
else
|
||||
echo "::: Kernel update detected, please reboot your system and try again if your installation fails."
|
||||
fi
|
||||
}
|
||||
|
||||
install_dependent_packages() {
|
||||
|
|
Loading…
Reference in a new issue