check_nwc_health: Fixing regex for disabling epn

This commit is contained in:
Jan Wagner 2014-09-22 19:43:19 +02:00
parent 15a3d1f73c
commit 5e81c86471

View file

@ -8,7 +8,7 @@ check_nwc_health:
cp /usr/share/misc/config.* src
cd src && ./configure --prefix=/usr --with-nagios-user=nagios --with-nagios-group=nagios
make -C src
sed 's,^# nagios: +epn$,# nagios: -epn\n,' src/plugins-scripts/check_nwc_health > $@
sed 's,^# nagios: +epn,# nagios: -epn\n,' src/plugins-scripts/check_nwc_health > $@
#cp src/plugins-scripts/check_nwc_health $@
clean::