Code

uncomment needed line in triggered_action_reboot
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Apr 2008 12:51:58 +0000 (12:51 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Apr 2008 12:51:58 +0000 (12:51 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10652 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/client/events/gosaTriggered.pm

index 38aee563b785387ad45875d488aba4b966c3c3cf..9de869af8e75b2397bced71a25b83f5070fc1cad 100644 (file)
@@ -70,6 +70,7 @@ sub trigger_action_localboot {
 
 sub trigger_action_faireboot {
     my ($msg, $msg_hash) = @_;
+       &main::daemon_log("DEBUG: run /usr/sbin/faireboot\n", 7); 
     system("/usr/sbin/faireboot");
     return;
 }
@@ -95,7 +96,7 @@ sub trigger_action_reboot {
         close(FILE);
     }
     else {
-       #system( "/sbin/shutdown -r +$timeout &" );
+       system( "/sbin/shutdown -r +$timeout &" );
     }
 
     return;