|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
|
|
|
|
|
use esmith::Build::CreateLinks qw(:all);
|
|
|
|
|
|
|
|
|
|
templates2events("/etc/ulogd.conf", qw(post-install post-upgrade e-smith-packetfilter-update));
|
|
|
|
|
templates2events("/etc/ulogd.conf", qw(post-install post-upgrade smeserver-packetfilter-update));
|
|
|
|
|
|
|
|
|
|
# conf-masq
|
|
|
|
|
|
|
|
|
@ -13,15 +13,15 @@ templates2events("/etc/rc.d/init.d/masq", qw(
|
|
|
|
|
network-delete
|
|
|
|
|
remoteaccess-update
|
|
|
|
|
email-update
|
|
|
|
|
e-smith-packetfilter-update
|
|
|
|
|
smeserver-packetfilter-update
|
|
|
|
|
));
|
|
|
|
|
|
|
|
|
|
foreach (qw(console-save ip-change network-create network-delete remoteaccess-update e-smith-packetfilter-update))
|
|
|
|
|
foreach (qw(console-save ip-change network-create network-delete remoteaccess-update smeserver-packetfilter-update))
|
|
|
|
|
{
|
|
|
|
|
safe_symlink("reload", "root/etc/e-smith/events/$_/services2adjust/masq");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
my $event ="e-smith-packetfilter-update";
|
|
|
|
|
my $event ="smeserver-packetfilter-update";
|
|
|
|
|
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/ulogd");
|
|
|
|
|
event_link("systemd-reload", $event, "89");
|
|
|
|
|
event_link("systemd-default", $event, "88");
|
|
|
|
|