1 |
diff -Nur smeserver-awstats-1.4.old/createlinks smeserver-awstats-1.4/createlinks |
diff -Nur smeserver-awstats-1.4.old/createlinks smeserver-awstats-1.4/createlinks |
2 |
--- smeserver-awstats-1.4.old/createlinks 2007-04-06 00:59:44.000000000 -0400 |
--- smeserver-awstats-1.4.old/createlinks 2007-04-06 00:59:44.000000000 -0400 |
3 |
+++ smeserver-awstats-1.4/createlinks 2021-02-22 15:04:20.879000000 -0500 |
+++ smeserver-awstats-1.4/createlinks 2021-02-22 15:18:56.034000000 -0500 |
4 |
@@ -3,15 +3,29 @@ |
@@ -3,15 +3,29 @@ |
5 |
use esmith::Build::CreateLinks qw(:all); |
use esmith::Build::CreateLinks qw(:all); |
6 |
use File::Basename; |
use File::Basename; |
13 |
|
|
14 |
-event_link("awstats-run", "ip-change", "60"); |
-event_link("awstats-run", "ip-change", "60"); |
15 |
-event_link("conf-awstats", "ip-change", "61"); |
-event_link("conf-awstats", "ip-change", "61"); |
16 |
+my $service; |
+my $event; |
17 |
|
|
18 |
-event_link("conf-awstats", "awstats-update", "10"); |
-event_link("conf-awstats", "awstats-update", "10"); |
19 |
+panel_link("awstats", 'manager'); |
+panel_link("awstats", 'manager'); |
20 |
+ |
+ |
21 |
+$service="console-save"; |
+$event="console-save"; |
22 |
+templates2events("/etc/e-smith/web/panels/manager/cgi-bin/.awstats/awstats.conf", $event ); |
+templates2events("/etc/e-smith/web/panels/manager/cgi-bin/.awstats/awstats.conf", $event ); |
23 |
+ |
+ |
24 |
+$service="remoteaccess-update"; |
+$event="remoteaccess-update"; |
25 |
+templates2events("/etc/e-smith/web/panels/manager/cgi-bin/.awstats/awstats.conf", $event ); |
+templates2events("/etc/e-smith/web/panels/manager/cgi-bin/.awstats/awstats.conf", $event ); |
26 |
+ |
+ |
27 |
+$service="ip-change"; |
+$event="ip-change"; |
28 |
+templates2events("/etc/e-smith/web/panels/manager/cgi-bin/.awstats/awstats.conf", $event ); |
+templates2events("/etc/e-smith/web/panels/manager/cgi-bin/.awstats/awstats.conf", $event ); |
29 |
+event_link("awstats-run", $service , "04"); |
+event_link("awstats-run", $event , "04"); |
30 |
+ |
+ |
31 |
+$service="awstats-update"; |
+$event="awstats-update"; |
32 |
+event_link("navigation-conf", $event, "50"); |
+event_link("navigation-conf", $event, "50"); |
33 |
+templates2events("/etc/e-smith/web/panels/manager/cgi-bin/.awstats/awstats.conf", $event ); |
+templates2events("/etc/e-smith/web/panels/manager/cgi-bin/.awstats/awstats.conf", $event ); |
34 |
event_link("awstats-run", "awstats-update", "20"); |
event_link("awstats-run", "awstats-update", "20"); |
35 |
|
|
36 |
+ |
+ |
37 |
+my $service= "smeserver-awstat-update"; |
+$event= "smeserver-awstat-update"; |
38 |
+event_link("navigation-conf", $event, "50"); |
+event_link("navigation-conf", $event, "50"); |
39 |
+templates2events("/etc/e-smith/web/panels/manager/cgi-bin/.awstats/awstats.conf", $event ); |
+templates2events("/etc/e-smith/web/panels/manager/cgi-bin/.awstats/awstats.conf", $event ); |
40 |
+templates2events("/etc/crontab", $event ); |
+templates2events("/etc/crontab", $event ); |