v1.3.1-20 - load module
This commit is contained in:
parent
a0b2b0e9ed
commit
43c2f122c7
@ -32,12 +32,16 @@ for my $event (qw(xt_geoip-service))
|
|||||||
}
|
}
|
||||||
|
|
||||||
# actions to perform
|
# actions to perform
|
||||||
|
|
||||||
for my $event (qw(xt_geoip-update bootstrap-console-save
|
for my $event (qw(xt_geoip-update bootstrap-console-save
|
||||||
console-save smeserver-xt_geoip-update))
|
console-save smeserver-xt_geoip-update))
|
||||||
{
|
{
|
||||||
event_link("smeserver-xt_geoip-download-action", $event, "10");
|
event_link("smeserver-xt_geoip-download-action", $event, "10");
|
||||||
}
|
}
|
||||||
|
for my $event (qw(bootstrap-console-save e-smith-packetfilter-update
|
||||||
|
smeserver-xt_geoip-update remote-access-update))
|
||||||
|
{
|
||||||
|
event_link("xt_geoip_kmod", $event, "15");
|
||||||
|
}
|
||||||
|
|
||||||
# for smeserver-manager
|
# for smeserver-manager
|
||||||
my $event= "smeserver-xt_geoip-update";
|
my $event= "smeserver-xt_geoip-update";
|
||||||
@ -46,6 +50,7 @@ event_link('navigation2-conf', "$event", '80');
|
|||||||
event_link('routes2-conf', "$event", '80');
|
event_link('routes2-conf', "$event", '80');
|
||||||
event_link('locales2-conf', "$event", '80');
|
event_link('locales2-conf', "$event", '80');
|
||||||
|
|
||||||
|
# backup
|
||||||
use esmith::Build::Backup qw(:all);
|
use esmith::Build::Backup qw(:all);
|
||||||
backup_includes("smeserver-xt_geoip", qw(
|
backup_includes("smeserver-xt_geoip", qw(
|
||||||
/usr/share/xt_geoip/BE/
|
/usr/share/xt_geoip/BE/
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
modprobe -r xt_geoip
|
||||||
|
weak-modules --add-kernel
|
||||||
|
modprobe xt_geoip
|
||||||
|
|
@ -0,0 +1,4 @@
|
|||||||
|
kernel*:any:/etc/e-smith/events/actions/xt_geoip_kmod
|
||||||
|
kmod*:any:/etc/e-smith/events/actions/xt_geoip_kmod
|
||||||
|
xtables-addons*:any:/etc/e-smith/events/actions/xt_geoip_kmod
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
%define name smeserver-xt_geoip
|
%define name smeserver-xt_geoip
|
||||||
%define version 1.3.1
|
%define version 1.3.1
|
||||||
%define release 19
|
%define release 20
|
||||||
|
|
||||||
Summary: smserver rpm to setup database, update and configuration for xt_geoip module with a panel.
|
Summary: smserver rpm to setup database, update and configuration for xt_geoip module with a panel.
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
@ -67,6 +67,9 @@ rm -rf %{name}-%{version}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 15 2023 Michel Begue <mab974@misouk.com> 1.3.1-20.sme
|
||||||
|
- fix module not loaded after update [SME: 10793]
|
||||||
|
|
||||||
* Wed Feb 08 2023 Michel Begue <mab974@misouk.com> 1.3.1-19.sme
|
* Wed Feb 08 2023 Michel Begue <mab974@misouk.com> 1.3.1-19.sme
|
||||||
- no patch infos here in .spec ( F A K E ) [SME: ]
|
- no patch infos here in .spec ( F A K E ) [SME: ]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user