Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
1e42ed9f
Commit
1e42ed9f
authored
Mar 23, 2015
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more package cleanups
parent
50778390
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
15 deletions
+1
-15
ping_hosts.sh
src/bin/ping_hosts.sh
+1
-6
config.lib.inc
src/etc/inc/config.lib.inc
+0
-2
filter.inc
src/etc/inc/filter.inc
+0
-7
No files found.
src/bin/ping_hosts.sh
View file @
1e42ed9f
...
...
@@ -35,12 +35,7 @@ if [ -f /var/db/hosts ]; then
HOSTS
=
"/var/db/hosts"
fi
# Package specific ping requests
if
[
-f
/var/db/pkgpinghosts
]
;
then
PKGHOSTS
=
"/var/db/pkgpinghosts"
fi
cat
$PKGHOSTS
$HOSTS
$IPSECHOSTS
>
/tmp/tmpHOSTS
cat
$HOSTS
$IPSECHOSTS
>
/tmp/tmpHOSTS
if
[
!
-d
/var/db/pingstatus
]
;
then
/bin/mkdir
-p
/var/db/pingstatus
...
...
src/etc/inc/config.lib.inc
View file @
1e42ed9f
...
...
@@ -244,8 +244,6 @@ function write_config($desc = 'Unknown', $backup = true)
return
-
1
;
}
unlink_if_exists
(
"/usr/local/pkg/pf/carp_sync_client.php"
);
/* sync carp entries to other firewalls */
carp_sync_client
();
...
...
src/etc/inc/filter.inc
View file @
1e42ed9f
...
...
@@ -379,13 +379,6 @@ function filter_configure_sync($delete_states_if_needed = true)
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"
));
if
(
file_exists
(
"/var/run/booting"
))
echo
gettext
(
"done."
)
.
"
\n
"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment