diff options
author | doktornotor <notordoktor@gmail.com> | 2015-08-25 10:10:01 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-08-25 10:10:01 +0200 |
commit | 04abb9bc8b3a4f8cbd01e70877ebdde4fb60aa10 (patch) | |
tree | e5914569fcd644a6c900d2f58b222eb32228ba02 /config/vhosts | |
parent | 1655f88deee13024c160c371d9ca79de273ad98c (diff) | |
download | pfsense-packages-04abb9bc8b3a4f8cbd01e70877ebdde4fb60aa10.tar.gz pfsense-packages-04abb9bc8b3a4f8cbd01e70877ebdde4fb60aa10.tar.bz2 pfsense-packages-04abb9bc8b3a4f8cbd01e70877ebdde4fb60aa10.zip |
Remove useless remount calls and other redundant stuff
These are dealt with by install_package(), uninstall_package() and delete_package_xml() from pkg-utils.inc.
Diffstat (limited to 'config/vhosts')
-rw-r--r-- | config/vhosts/vhosts.inc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/config/vhosts/vhosts.inc b/config/vhosts/vhosts.inc index cf2f97b8..7ac027b9 100644 --- a/config/vhosts/vhosts.inc +++ b/config/vhosts/vhosts.inc @@ -622,7 +622,6 @@ EOF; function vhosts_install_command() { global $config; - conf_mount_rw(); safe_mkdir("/usr/local/vhosts/"); write_rcfile(array( @@ -637,13 +636,9 @@ function vhosts_install_command() { function vhosts_deinstall_command() { - conf_mount_rw(); - stop_service("vhosts-http"); - unlink_if_exists("/usr/local/etc/rc.d/vhosts-http.sh"); exec("/bin/rm -f /usr/local/etc/rc.d/vhosts*"); exec("/bin/rm -f /var/etc/vhosts*"); exec("/bin/rm -rf /usr/local/www/packages/vhosts"); - conf_mount_ro(); } ?> |