Skip to content
Permalink
Browse files

Log build as patch

  • Loading branch information...
NEMS Linux
NEMS Linux committed Mar 23, 2019
1 parent 78e2919 commit 66810f87c351acefd18c2baf12893b96373906c3
Showing with 8 additions and 10 deletions.
  1. +4 −10 build/051-monitoring-plugins
  2. +4 −0 build/174-networkmanager
@@ -2,16 +2,10 @@
echo $0 > /var/www/html/userfiles/nems-build.cur

# Install monitoring-plugins (the continuation of the now dead nagios-plugins)
# cd /tmp
# if [[ -e monitoring-plugins ]]; then
# rm -rf monitoring-plugins
# fi
# git clone https://github.com/Cat5TV/monitoring-plugins
# cd monitoring-plugins
# ./tools/setup
# ./configure --prefix=/usr/local/nagios/ --with-cgiurl=/nagios/cgi-bin --with-nagios-user=nagios --with-nagios-group=nagios --with-openssl
# make
# make install
apt -y install --reinstall monitoring-plugins-common
apt -y install --reinstall monitoring-plugins-basic
apt -y install --reinstall monitoring-plugins-standard

if ! grep -q "PATCH-000001" /var/log/nems/patches.log; then
echo "PATCH-000001" >> /var/log/nems/patches.log
fi
@@ -17,3 +17,7 @@ echo $0 > /var/www/html/userfiles/nems-build.cur
/bin/sed -i -- 's,managed=false,managed=true,g' /etc/NetworkManager/NetworkManager.conf
/etc/init.d/network-manager restart
fi

if ! grep -q "PATCH-000003" /var/log/nems/patches.log; then
echo "PATCH-000003" >> /var/log/nems/patches.log
fi

0 comments on commit 66810f8

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