initial commit of file from CVS for smeserver-phpmyadmin on Sat Sep 7 20:52:31 AEST 2024
This commit is contained in:
31
createlinks
Normal file
31
createlinks
Normal file
@@ -0,0 +1,31 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
use esmith::Build::CreateLinks qw(:all);
|
||||
|
||||
for my $event (qw(
|
||||
bootstrap-console-save
|
||||
console-save
|
||||
))
|
||||
{
|
||||
templates2events("/etc/phpMyAdmin/config.inc.php", $event);
|
||||
templates2events("/etc/e-smith/sql/init/phpmyadmin", $event);
|
||||
}
|
||||
|
||||
for my $event (qw(
|
||||
phpmyadmin-update
|
||||
smeserver-phpmyadmin-update
|
||||
))
|
||||
{
|
||||
templates2events("/etc/httpd/conf/httpd.conf", $event);
|
||||
templates2events("/etc/phpMyAdmin/config.inc.php", $event);
|
||||
templates2events("/etc/e-smith/sql/init/phpmyadmin", $event);
|
||||
templates2events("/etc/opt/remi/php74/php-fpm.d/www.conf", $event);
|
||||
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/mysql.init");;
|
||||
safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith");
|
||||
safe_symlink("reload-or-restart", "root/etc/e-smith/events/$event/services2adjust/php74-php-fpm");
|
||||
}
|
||||
# PHP header and footer
|
||||
safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/etc/phpMyAdmin/config.inc.php/template-begin");
|
||||
safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/etc/phpMyAdmin/config.inc.php/template-end");
|
||||
|
||||
|
Reference in New Issue
Block a user