/[smeserver]/rpms/e-smith-base/sme10/e-smith-base-5.8.0-remove_obsolete_services.patch
ViewVC logotype

Annotation of /rpms/e-smith-base/sme10/e-smith-base-5.8.0-remove_obsolete_services.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Sun Jun 6 20:38:52 2021 UTC (3 years, 5 months ago) by jpp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
5.8.1

1 vip-ire 1.1 diff -Nur e-smith-base-5.8.0/createlinks e-smith-base-5.8.0_bz9420/createlinks
2     --- e-smith-base-5.8.0/createlinks 2016-04-11 20:46:45.734751970 +0200
3     +++ e-smith-base-5.8.0_bz9420/createlinks 2016-04-11 20:47:58.185758832 +0200
4     @@ -38,8 +38,6 @@
5     service_link_enhanced("wan", "K90", "0");
6     service_link_enhanced("wan", "K90", "1");
7    
8     -service_link_enhanced("udev-post", "S26", "7");
9     -
10     # conf-dialup
11     foreach (qw(
12     /etc/sysconfig/network-scripts/ifcfg-ppp0
13     @@ -550,8 +548,6 @@
14     smartd => "40",
15     acpid => "44",
16     dhcpd => "65",
17     - messagebus => "97",
18     - haldaemon => "98",
19     'local' => "99",
20     );
21    
22     diff -Nur e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/haldaemon/status e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/defaults/haldaemon/status
23     --- e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/haldaemon/status 2005-11-21 05:28:04.000000000 +0100
24     +++ e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/defaults/haldaemon/status 1970-01-01 01:00:00.000000000 +0100
25     @@ -1 +0,0 @@
26     -enabled
27     diff -Nur e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/haldaemon/type e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/defaults/haldaemon/type
28     --- e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/haldaemon/type 2005-11-21 05:28:04.000000000 +0100
29     +++ e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/defaults/haldaemon/type 1970-01-01 01:00:00.000000000 +0100
30     @@ -1 +0,0 @@
31     -service
32     diff -Nur e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/messagebus/status e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/defaults/messagebus/status
33     --- e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/messagebus/status 2005-11-21 05:28:04.000000000 +0100
34     +++ e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/defaults/messagebus/status 1970-01-01 01:00:00.000000000 +0100
35     @@ -1 +0,0 @@
36     -enabled
37     diff -Nur e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/messagebus/type e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/defaults/messagebus/type
38     --- e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/messagebus/type 2005-11-21 05:28:04.000000000 +0100
39     +++ e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/defaults/messagebus/type 1970-01-01 01:00:00.000000000 +0100
40     @@ -1 +0,0 @@
41     -service
42     diff -Nur e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/udev-post/status e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/defaults/udev-post/status
43     --- e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/udev-post/status 2014-03-24 03:47:25.000000000 +0100
44     +++ e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/defaults/udev-post/status 1970-01-01 01:00:00.000000000 +0100
45     @@ -1 +0,0 @@
46     -enabled
47     diff -Nur e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/udev-post/type e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/defaults/udev-post/type
48     --- e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/udev-post/type 2014-03-24 03:47:25.000000000 +0100
49     +++ e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/defaults/udev-post/type 1970-01-01 01:00:00.000000000 +0100
50     @@ -1 +0,0 @@
51     -service
52     diff -Nur e-smith-base-5.8.0/root/etc/e-smith/db/configuration/migrate/50RemoveObsoleteServices e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/migrate/50RemoveObsoleteServices
53     --- e-smith-base-5.8.0/root/etc/e-smith/db/configuration/migrate/50RemoveObsoleteServices 1970-01-01 01:00:00.000000000 +0100
54     +++ e-smith-base-5.8.0_bz9420/root/etc/e-smith/db/configuration/migrate/50RemoveObsoleteServices 2016-04-11 20:58:44.861730298 +0200
55     @@ -0,0 +1,10 @@
56     +{
57     +
58     + # Remove old, unused services from the configuration database
59     + my @services = qw(haldaemon smolt udev-post messagebus);
60     + foreach my $service (@services){
61     + my $entry = $DB->get($service);
62     + $entry->delete if $entry;
63     + }
64     +
65     +}

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed