Commit 2e39739d authored by Emmanuel Temam's avatar Emmanuel Temam
Browse files

small bug

parent 870c8f1a
......@@ -30,7 +30,7 @@ echo "making new nrpe.cfg"
cat $NRPEFILE | grep "^command\[" > $DESTDIR/local_commands.cfg
wget -O - > /tmp/nrpe.cfg
mv $NRPEFILE $DESTDIR/nrpe.cfg.bak
echo "include_dir=$DESDIR" >> /tmp/nrpe.cfg
echo "include_dir=$DESTDIR" >> /tmp/nrpe.cfg
mv /tmp/nrpe.cfg $NRPEFILE
echo "Starting nrpe3"
/usr/local/etc/rc.d/nrpe3 start
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment