diff options
author | doktornotor <notordoktor@gmail.com> | 2015-08-25 08:15:20 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-08-25 08:15:20 +0200 |
commit | 7a3f7399ef2ca11e5c7095e667db2711bf9cb5ab (patch) | |
tree | 015f552f1d292d92ca1f6699c671cc8cb4f49120 /config/ipguard | |
parent | dd52725cb8b87598a253e844ba4057291294b6d2 (diff) | |
download | pfsense-packages-7a3f7399ef2ca11e5c7095e667db2711bf9cb5ab.tar.gz pfsense-packages-7a3f7399ef2ca11e5c7095e667db2711bf9cb5ab.tar.bz2 pfsense-packages-7a3f7399ef2ca11e5c7095e667db2711bf9cb5ab.zip |
remote useless remount and stop_service() calls
These are dealt with by uninstall_package() from pkg-utils.inc.
Diffstat (limited to 'config/ipguard')
-rw-r--r-- | config/ipguard/ipguard.inc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/config/ipguard/ipguard.inc b/config/ipguard/ipguard.inc index 4e5c5eef..53284c96 100644 --- a/config/ipguard/ipguard.inc +++ b/config/ipguard/ipguard.inc @@ -31,12 +31,10 @@ require_once("config.inc"); require_once("util.inc"); function ipguard_custom_php_deinstall_command() { - conf_mount_rw(); stop_service('ipguard'); unlink_if_exists("/usr/local/etc/rc.d/ipguard.sh"); $files = glob("/usr/local/etc/ipguard_*.conf"); unlink_if_exists($files); - conf_mount_ro(); } function ipguard_custom_php_write_config() { |