diff options
author | doktornotor <notordoktor@gmail.com> | 2015-08-25 08:50:46 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-08-25 08:50:46 +0200 |
commit | e6652b377ea0d0cd5a841ea256e2b73c06e27201 (patch) | |
tree | f80a3bb6a36013844e242fd3bd1dd6fd73942e05 | |
parent | 351a25537406b9d005b4e4e7cc0fb02535314f8d (diff) | |
download | pfsense-packages-e6652b377ea0d0cd5a841ea256e2b73c06e27201.tar.gz pfsense-packages-e6652b377ea0d0cd5a841ea256e2b73c06e27201.tar.bz2 pfsense-packages-e6652b377ea0d0cd5a841ea256e2b73c06e27201.zip |
Remove useless remount calls and other redundant stuff
These are dealt with by uninstall_package() and delete_package_xml() from pkg-utils.inc.
-rw-r--r-- | config/bacula-client/bacula-client.inc | 7 |
1 files changed, 0 insertions, 7 deletions
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(){ |