#!/usr/bin/perl -w use esmith::Build::CreateLinks qw(:all); # Templates to expand templates2events("/etc/e-smith/sql/init/grrdb", qw(bootstrap-console-save webapps-update)); templates2events("/usr/share/grr/include/connect.inc.php", qw(bootstrap-console-save webapps-update)); templates2events("/usr/share/grr/include/config_ldap.inc.php", qw(bootstrap-console-save webapps-update)); # PHP header and footer safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/usr/share/grr/include/connect.inc.php/template-begin"); safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/usr/share/grr/include/connect.inc.php/template-end"); safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/usr/share/grr/include/config_ldap.inc.php/template-begin"); safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/usr/share/grr/include/config_ldap.inc.php/template-end");