diff options
author | Daniel Stefan Haischt <dsh@pfsense.org> | 2006-08-17 05:58:52 +0000 |
---|---|---|
committer | Daniel Stefan Haischt <dsh@pfsense.org> | 2006-08-17 05:58:52 +0000 |
commit | b9606b3f5705f44545d410dc33f9f38c8e03a153 (patch) | |
tree | 1aea1ee0f6ca18b44905219b2a57591c96158572 /packages/freenas/pkg | |
parent | ed814850398b9c680c82060767b28c86559f24ae (diff) | |
download | pfsense-packages-b9606b3f5705f44545d410dc33f9f38c8e03a153.tar.gz pfsense-packages-b9606b3f5705f44545d410dc33f9f38c8e03a153.tar.bz2 pfsense-packages-b9606b3f5705f44545d410dc33f9f38c8e03a153.zip |
cleanup config on deinstall
Diffstat (limited to 'packages/freenas/pkg')
-rw-r--r-- | packages/freenas/pkg/freenas.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/freenas/pkg/freenas.inc b/packages/freenas/pkg/freenas.inc index c77abcfc..594c0412 100644 --- a/packages/freenas/pkg/freenas.inc +++ b/packages/freenas/pkg/freenas.inc @@ -211,6 +211,8 @@ function custom_php_install_command() { } function custom_php_deinstall_command() { + global $config; + oninstall_copy_kernel_binaries("deinstall"); oninstall_copy_misc_binaries("deinstall"); @@ -219,4 +221,8 @@ function custom_php_deinstall_command() { unlink_if_exists("/usr/local/etc/uams/uams_clrtxt.so"); unlink_if_exists("/usr/local/etc/uams/uams_dhx.so"); + + unset($config['installedpackages']['freenas']); + write_config(); + conf_mount_ro(); ?> |