Code

Fix warning.
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 6 Mar 2008 18:31:00 +0000 (18:31 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 6 Mar 2008 18:31:00 +0000 (18:31 +0000)
Fix init script - extended tests need bash.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9405 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/debian/gosa-si-common.init
gosa-si/gosa-si-server

index d3d6c1454293a1389a6ca9cc26ee0ae69354d860..1c08c9ca09364927400ea9cbe67418a952bc91e9 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # Start/stop the GOsa support daemon infrastructure.
 #
 ### BEGIN INIT INFO
index aed1a8fb5cc47e75391aa53cfd39765d1bf393bf..0933fc3f1dd9055b5351ef5074f65ba73f74c7de 100755 (executable)
@@ -1365,12 +1365,12 @@ sub resolve_fai_classes {
                                if($class =~ /^ou=.*$/) {
                                        next;
                                } else {
-                                       my $text = Data::Dumper->new([$fai_classes->{$release}->{$class}])->Purity(1)->Terse(1)->Deepcopy(1)->Dump();
-                                       $tmp_classes->{$class => "nix"};
-                                       eval "$tmp_classes->{$class}->$text;";
-                                       daemon_log("eval $tmp_classes->{$class}->$text;",1);
-                                       daemon_log(Dumper($tmp_classes),1);
-                                       exit(1);
+                                       #my $text = Data::Dumper->new([$fai_classes->{$release}->{$class}])->Purity(1)->Terse(1)->Deepcopy(1)->Dump();
+                                       #$tmp_classes->{$class => "nix"};
+                                       #eval "$tmp_classes->{$class}->$text;";
+                                       #daemon_log("eval $tmp_classes->{$class}->$text;",1);
+                                       #daemon_log(Dumper($tmp_classes),1);
+                                       #exit(1);
                                }
                        }