Skip to content
Permalink
Browse files

PATCH-000007 - Move nrpe away from repos

  • Loading branch information...
NEMS Linux
NEMS Linux committed Aug 12, 2019
1 parent 4f91ff0 commit 9e6f1e8a4681b760f40e76a085362c88b14ed92c
Showing with 13 additions and 0 deletions.
  1. +13 −0 upgrade.sh
@@ -324,6 +324,16 @@ vm.swappiness = 10
echo ""
fi

if ! grep -q "PATCH-000007" /var/log/nems/patches.log; then
echo "PATCH-000007 is available."
echo "This patch removes the package maintainer's version of the"
echo "nrpe plugin, which has been orphaned. This version has crippled"
echo "functionality, and will be replaced with a custom compiled"
echo "version on your NEMS Server."
read -r -p "Do you want to install this patch? [y/N] " PATCH000007
echo ""
fi


# Run the selected patches
if [[ $PATCH000001 =~ ^([yY][eE][sS]|[yY])$ ]]; then
@@ -338,6 +348,9 @@ vm.swappiness = 10
if [[ $PATCH000005 =~ ^([yY][eE][sS]|[yY])$ ]]; then
/root/nems/nems-admin/nems-upgrade/patches/000005 && upgraded=1
fi
if [[ $PATCH000007 =~ ^([yY][eE][sS]|[yY])$ ]]; then
/root/nems/nems-admin/nems-upgrade/patches/000007 && upgraded=1
fi

fi

0 comments on commit 9e6f1e8

Please sign in to comment.
You can’t perform that action at this time.