From e6652b377ea0d0cd5a841ea256e2b73c06e27201 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Tue, 25 Aug 2015 08:50:46 +0200 Subject: Remove useless remount calls and other redundant stuff These are dealt with by uninstall_package() and delete_package_xml() from pkg-utils.inc. --- config/bacula-client/bacula-client.inc | 7 ------- 1 file changed, 7 deletions(-) (limited to 'config/bacula-client') diff --git a/config/bacula-client/bacula-client.inc b/config/bacula-client/bacula-client.inc index 07be3067..397cf7a4 100644 --- a/config/bacula-client/bacula-client.inc +++ b/config/bacula-client/bacula-client.inc @@ -44,15 +44,8 @@ function baculaclient_custom_php_install_command() { } function baculaclient_custom_php_deinstall_command(){ - conf_mount_rw(); - // Delete our config file unlink_if_exists(BACULA_LOCALBASE . "/etc/bacula/bacula-fd.conf"); - // Stop service and delete our rc file - stop_service("bacula-client"); - unlink_if_exists(BACULA_STARTUP_SCRIPT); - - conf_mount_ro(); } function baculaclient_custom_php_write_config(){ -- cgit v1.2.3