Changes

From SME Server
Jump to navigationJump to search
240 bytes added ,  21:51, 18 July 2016
Line 67: Line 67:  
     $popd->delete;
 
     $popd->delete;
 
  }
 
  }
 +
 +
or another example in /etc/e-smith/events/actions/ldap-delete-dumps
 +
 +
if($ldap and $ldap->prop('status') eq 'enabled')
 +
  {
 +
    esmith::util::serviceControl(
 +
      NAME => 'ldap',
 +
      ACTION => 'stop',
 +
      BACKGROUND => 'false')
 +
  }
    
==== reset_props ====
 
==== reset_props ====

Navigation menu