Commit 1e42ed9f authored by Ad Schellevis's avatar Ad Schellevis

more package cleanups

parent 50778390
...@@ -35,12 +35,7 @@ if [ -f /var/db/hosts ]; then ...@@ -35,12 +35,7 @@ if [ -f /var/db/hosts ]; then
HOSTS="/var/db/hosts" HOSTS="/var/db/hosts"
fi fi
# Package specific ping requests cat $HOSTS $IPSECHOSTS >/tmp/tmpHOSTS
if [ -f /var/db/pkgpinghosts ]; then
PKGHOSTS="/var/db/pkgpinghosts"
fi
cat $PKGHOSTS $HOSTS $IPSECHOSTS >/tmp/tmpHOSTS
if [ ! -d /var/db/pingstatus ]; then if [ ! -d /var/db/pingstatus ]; then
/bin/mkdir -p /var/db/pingstatus /bin/mkdir -p /var/db/pingstatus
......
...@@ -244,8 +244,6 @@ function write_config($desc = 'Unknown', $backup = true) ...@@ -244,8 +244,6 @@ function write_config($desc = 'Unknown', $backup = true)
return -1; return -1;
} }
unlink_if_exists("/usr/local/pkg/pf/carp_sync_client.php");
/* sync carp entries to other firewalls */ /* sync carp entries to other firewalls */
carp_sync_client(); carp_sync_client();
......
...@@ -379,13 +379,6 @@ function filter_configure_sync($delete_states_if_needed = true) ...@@ -379,13 +379,6 @@ function filter_configure_sync($delete_states_if_needed = true)
update_filter_reload_status(gettext("Running plugins")); update_filter_reload_status(gettext("Running plugins"));
if(is_dir("/usr/local/pkg/pf/")) {
/* process packager manager custom rules */
update_filter_reload_status(gettext("Running plugins (pf)"));
run_plugins("/usr/local/pkg/pf/");
update_filter_reload_status(gettext("Plugins completed."));
}
update_filter_reload_status(gettext("Done")); update_filter_reload_status(gettext("Done"));
if(file_exists("/var/run/booting")) if(file_exists("/var/run/booting"))
echo gettext("done.") . "\n"; echo gettext("done.") . "\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment