import: Fix progress output ETA when skipping files
[nagios-reports-module.git] / op5build / preremove
blobdfc3113a8789d88e22a6ab99bb5e82d61303e053
1 if [ $$1 -eq 0 ]; then
2     # removing the ndbneb module entirely
3     sh /etc/rc.d/init.d/monitor stop || :
4     sh /etc/rc.d/init.d/monitor slay || :
5     sed -i /ndbneb.so/d $$prefix/etc/nagios.cfg
6     sh /etc/rc.d/init.d/monitor start || :
7 fi