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 ==== |