Nagios script

Hello,
i'm noob on freebsd and i'm try to install the Centreon!
but during the instalation of the Nagios, using the ports
Code:
cd /usr/ports/net-mgmt/nagios
make install clean

i need to run the script shell csh:

Code:
cd /usr/local/etc/nagios
foreach file ( "`ls -1`" )
mv $arquivo `echo $file | sed 's/-sample//g'`
end
cd objects
foreach arquivo ( "`ls -1`" )
mv $arquivo `echo $file | sed 's/-sample//g'`
end

but i don't know who do it!

on link: http://www.luizgustavo.pro.br/blog/2010/02/15/centreon-2-1-4-no-freebsd/
translate: http://translate.google.com.br/tran...on-2-1-4-no-freebsd/&sl=pt&tl=en&hl=&ie=UTF-8

thanks!
 
Back
Top