Rev 82 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
82 | daniel-mar | 1 | #!/usr/bin/php |
2 | <?php |
||
3 | |||
4 | /* |
||
5 | * VNag - Nagios Framework for PHP |
||
6 | * Developed by Daniel Marschall, ViaThinkSoft <www.viathinksoft.com> |
||
7 | * Licensed under the terms of the Apache 2.0 license |
||
8 | * |
||
9 | * Revision 2023-10-14 |
||
10 | */ |
||
11 | |||
12 | foreach (glob(__DIR__.'/bin/*.conf') as $a) { |
||
13 | $a = basename($a); |
||
84 | daniel-mar | 14 | echo "cd /etc/icinga2/conf.d/ && rm -f vnag_$a\n"; |
82 | daniel-mar | 15 | echo "cd /etc/icinga2/conf.d/ && ln -s ".__DIR__."/bin/$a vnag_$a\n"; |
16 | } |