Update e-smith-package-update to smeserver-package-update

This commit is contained in:
Brian Read 2024-04-04 15:12:34 +01:00
parent 7fa901bf0a
commit 86dc12399b

View File

@ -9,7 +9,7 @@ foreach $event (qw(
network-create network-create
network-delete network-delete
proxy-update proxy-update
e-smith-proxy-update smeserver-proxy-update
)) ))
{ {
templates2events("/etc/httpd/conf/proxy/proxy.pac", $event); templates2events("/etc/httpd/conf/proxy/proxy.pac", $event);
@ -21,7 +21,7 @@ foreach $event (qw(
network-delete network-delete
console-save console-save
proxy-update proxy-update
e-smith-proxy-update smeserver-proxy-update
)) ))
{ {
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/squid"); safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/squid");
@ -29,7 +29,7 @@ foreach $event (qw(
foreach $event (qw( foreach $event (qw(
proxy-update proxy-update
e-smith-proxy-update smeserver-proxy-update
)) ))
{ {
templates2events("/etc/rc.d/init.d/masq", "$event"); templates2events("/etc/rc.d/init.d/masq", "$event");
@ -42,9 +42,9 @@ foreach $event (qw(
panel_link("proxy", "manager"); panel_link("proxy", "manager");
#-------------------------------------------------- #--------------------------------------------------
# specific actions for e-smith-proxy-update event # specific actions for smeserver-proxy-update event
#-------------------------------------------------- #--------------------------------------------------
$event = "e-smith-proxy-update"; $event = "smeserver-proxy-update";
templates2events("/etc/systemd/system-preset/49-koozali.preset", $event); templates2events("/etc/systemd/system-preset/49-koozali.preset", $event);
templates2events("/usr/lib/systemd/system/squid.service.d/50koozali.conf", $event); templates2events("/usr/lib/systemd/system/squid.service.d/50koozali.conf", $event);