initial commit of file from CVS for smeserver-nag on Sat Sep 7 20:45:20 AEST 2024
This commit is contained in:
30
createlinks
Executable file
30
createlinks
Executable file
@@ -0,0 +1,30 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
use esmith::Build::CreateLinks qw(:all);
|
||||
|
||||
#conf-nag
|
||||
|
||||
foreach (qw(conf.php prefs.php))
|
||||
{
|
||||
templates2events("/home/httpd/html/horde/nag/config/$_",
|
||||
qw(email-update bootstrap-console-save));
|
||||
}
|
||||
|
||||
foreach (qw(conf.php prefs.php))
|
||||
{
|
||||
safe_symlink("/etc/e-smith/templates-default/template-begin-php",
|
||||
"root/etc/e-smith/templates/home/httpd/html/horde/nag/config/$_/template-begin");
|
||||
safe_symlink("/etc/e-smith/templates-default/template-end-php",
|
||||
"root/etc/e-smith/templates/home/httpd/html/horde/nag/config/$_/template-end");
|
||||
}
|
||||
|
||||
foreach (qw(
|
||||
80mysql.create.nag
|
||||
81nag_upgrade
|
||||
))
|
||||
{
|
||||
templates2events(
|
||||
"/etc/e-smith/sql/init/$_",
|
||||
qw(post-install post-upgrade));
|
||||
}
|
||||
|
Reference in New Issue
Block a user