1 |
slords |
1.1 |
diff -up e-smith-base-5.2.0/root/etc/e-smith/db/configuration/migrate/10apmdStatus.apmd64bit e-smith-base-5.2.0/root/etc/e-smith/db/configuration/migrate/10apmdStatus |
2 |
|
|
--- e-smith-base-5.2.0/root/etc/e-smith/db/configuration/migrate/10apmdStatus.apmd64bit 2010-10-08 11:00:08.000000000 -0600 |
3 |
|
|
+++ e-smith-base-5.2.0/root/etc/e-smith/db/configuration/migrate/10apmdStatus 2010-10-08 11:00:08.000000000 -0600 |
4 |
|
|
@@ -0,0 +1,8 @@ |
5 |
|
|
+{ |
6 |
|
|
+ my $apmd = $DB->get('apmd') || $DB->new_record('apmd', { type => 'service'}); |
7 |
|
|
+ |
8 |
|
|
+ my $arch = `/bin/uname -i`; |
9 |
|
|
+ chomp($arch); |
10 |
|
|
+ |
11 |
|
|
+ $apmd->set_prop("status", "disabled") unless $arch eq 'i386'; |
12 |
|
|
+} |