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
c55a7c50
Commit
c55a7c50
authored
Jul 23, 2015
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(legacy) remove services.inc dependency from interfaces.inc
parent
f4facb21
Changes
29
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
29 additions
and
2 deletions
+29
-2
interfaces.inc
src/etc/inc/interfaces.inc
+0
-2
rc.dyndns.update
src/etc/rc.dyndns.update
+1
-0
rc.filter_configure_sync
src/etc/rc.filter_configure_sync
+2
-0
rc.filter_configure_xmlrpc
src/etc/rc.filter_configure_xmlrpc
+1
-0
rc.initial.setlanip
src/etc/rc.initial.setlanip
+1
-0
rc.newwanip
src/etc/rc.newwanip
+1
-0
rc.reload_all
src/etc/rc.reload_all
+1
-0
rc.reload_interfaces
src/etc/rc.reload_interfaces
+1
-0
rc.resolv_conf_generate
src/etc/rc.resolv_conf_generate
+1
-0
diag_logs_settings.php
src/www/diag_logs_settings.php
+1
-0
interfaces.php
src/www/interfaces.php
+1
-0
interfaces_assign.php
src/www/interfaces_assign.php
+1
-0
interfaces_ppps_edit.php
src/www/interfaces_ppps_edit.php
+1
-0
services_dhcpv6.php
src/www/services_dhcpv6.php
+1
-0
services_dhcpv6_relay.php
src/www/services_dhcpv6_relay.php
+1
-0
services_dyndns.php
src/www/services_dyndns.php
+1
-0
services_igmpproxy.php
src/www/services_igmpproxy.php
+1
-0
services_opendns.php
src/www/services_opendns.php
+1
-0
services_rfc2136.php
src/www/services_rfc2136.php
+1
-0
services_rfc2136_edit.php
src/www/services_rfc2136_edit.php
+1
-0
services_router_advertisements.php
src/www/services_router_advertisements.php
+1
-0
services_unbound_acls.php
src/www/services_unbound_acls.php
+1
-0
services_unbound_advanced.php
src/www/services_unbound_advanced.php
+1
-0
status_dhcpv6_leases.php
src/www/status_dhcpv6_leases.php
+1
-0
system_advanced_admin.php
src/www/system_advanced_admin.php
+1
-0
system_advanced_firewall.php
src/www/system_advanced_firewall.php
+1
-0
system_advanced_misc.php
src/www/system_advanced_misc.php
+1
-0
system_general.php
src/www/system_general.php
+1
-0
dyn_dns_status.widget.php
src/www/widgets/widgets/dyn_dns_status.widget.php
+1
-0
No files found.
src/etc/inc/interfaces.inc
View file @
c55a7c50
...
...
@@ -31,11 +31,9 @@
require_once
(
"interfaces.lib.inc"
);
require_once
(
"gwlb.inc"
);
require_once
(
'services.inc'
);
require_once
(
'openvpn.inc'
);
require_once
(
"services.inc"
);
/*
* converts a string like "a,b,c,d"
* into an array like array("a" => "b", "c" => "d")
...
...
src/etc/rc.dyndns.update
View file @
c55a7c50
...
...
@@ -31,6 +31,7 @@ require_once("config.inc");
require_once
(
"interfaces.inc"
);
require_once
(
"util.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"services.inc"
);
/* Interface IP address has changed */
...
...
src/etc/rc.filter_configure_sync
View file @
c55a7c50
...
...
@@ -35,5 +35,7 @@ require_once("vpn.inc");
require_once
(
"system.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"services.inc"
);
filter_configure_sync
();
src/etc/rc.filter_configure_xmlrpc
View file @
c55a7c50
...
...
@@ -41,6 +41,7 @@ require_once("openvpn.inc");
require_once
(
"vslb.inc"
);
require_once
(
"system.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"services.inc"
);
system_routing_configure
();
setup_gateways_monitor
();
...
...
src/etc/rc.initial.setlanip
View file @
c55a7c50
...
...
@@ -36,6 +36,7 @@ require_once("filter.inc");
require_once
(
"rrd.inc"
);
require_once
(
"util.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"services.inc"
);
$options
=
getopt
(
"hn"
,
array
(
"dry-run"
,
"help"
));
...
...
src/etc/rc.newwanip
View file @
c55a7c50
...
...
@@ -39,6 +39,7 @@ require_once("util.inc");
require_once
(
"system.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"services.inc"
);
// Do not process while booting
if
(
file_exists
(
'/var/run/booting'
))
{
...
...
src/etc/rc.reload_all
View file @
c55a7c50
...
...
@@ -37,6 +37,7 @@ require_once("util.inc");
require_once
(
"system.inc"
);
require_once
(
"certs.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"services.inc"
);
/****f* legacy/reload_all_sync
* NAME
...
...
src/etc/rc.reload_interfaces
View file @
c55a7c50
...
...
@@ -37,6 +37,7 @@ require_once("system.inc");
require_once
(
"interfaces.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"ipsec.inc"
);
require_once
(
"services.inc"
);
system_routing_enable
();
interfaces_configure
();
...
...
src/etc/rc.resolv_conf_generate
View file @
c55a7c50
...
...
@@ -29,6 +29,7 @@
require_once
(
"config.inc"
);
require_once
(
"system.inc"
);
require_once
(
"services.inc"
);
require_once
(
"pfsense-utils.inc"
);
system_resolvconf_generate
(
true
);
src/www/diag_logs_settings.php
View file @
c55a7c50
...
...
@@ -32,6 +32,7 @@ require_once("interfaces.inc");
require_once
(
"filter.inc"
);
require_once
(
"system.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"services.inc"
);
function
clear_all_log_files
()
{
...
...
src/www/interfaces.php
View file @
c55a7c50
...
...
@@ -40,6 +40,7 @@ require_once("vpn.inc");
require_once
(
"system.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"services.inc"
);
/***************************************************************************************************************
* imported from xmlparse_attr.inc
...
...
src/www/interfaces_assign.php
View file @
c55a7c50
...
...
@@ -40,6 +40,7 @@ require_once("rrd.inc");
require_once
(
"system.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"services.inc"
);
function
interface_assign_description
(
$portinfo
,
$portname
)
{
if
(
$portinfo
[
'isvlan'
])
{
...
...
src/www/interfaces_ppps_edit.php
View file @
c55a7c50
...
...
@@ -30,6 +30,7 @@
require_once
(
"guiconfig.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"services.inc"
);
$referer
=
(
isset
(
$_SERVER
[
'HTTP_REFERER'
])
?
$_SERVER
[
'HTTP_REFERER'
]
:
'/interfaces_ppps.php'
);
...
...
src/www/services_dhcpv6.php
View file @
c55a7c50
...
...
@@ -34,6 +34,7 @@ require_once("system.inc");
require_once
(
"unbound.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"services.inc"
);
/* Fix failover DHCP problem
* http://article.gmane.org/gmane.comp.security.firewalls.pfsense.support/18749
...
...
src/www/services_dhcpv6_relay.php
View file @
c55a7c50
...
...
@@ -30,6 +30,7 @@
require_once
(
"guiconfig.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"services.inc"
);
$pconfig
[
'enable'
]
=
isset
(
$config
[
'dhcrelay6'
][
'enable'
]);
if
(
empty
(
$config
[
'dhcrelay6'
][
'interface'
]))
...
...
src/www/services_dyndns.php
View file @
c55a7c50
...
...
@@ -29,6 +29,7 @@
require_once
(
"guiconfig.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"services.inc"
);
if
(
!
is_array
(
$config
[
'dyndnses'
][
'dyndns'
]))
$config
[
'dyndnses'
][
'dyndns'
]
=
array
();
...
...
src/www/services_igmpproxy.php
View file @
c55a7c50
...
...
@@ -30,6 +30,7 @@
require_once
(
"guiconfig.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"services.inc"
);
if
(
!
is_array
(
$config
[
'igmpproxy'
][
'igmpentry'
]))
$config
[
'igmpproxy'
][
'igmpentry'
]
=
array
();
...
...
src/www/services_opendns.php
View file @
c55a7c50
...
...
@@ -30,6 +30,7 @@
require_once
(
"guiconfig.inc"
);
require_once
(
"system.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"services.inc"
);
if
(
!
is_array
(
$config
[
'opendns'
]))
{
$config
[
'opendns'
]
=
array
();
...
...
src/www/services_rfc2136.php
View file @
c55a7c50
...
...
@@ -29,6 +29,7 @@
require_once
(
"guiconfig.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"services.inc"
);
if
(
!
is_array
(
$config
[
'dnsupdates'
][
'dnsupdate'
]))
$config
[
'dnsupdates'
][
'dnsupdate'
]
=
array
();
...
...
src/www/services_rfc2136_edit.php
View file @
c55a7c50
...
...
@@ -28,6 +28,7 @@
*/
require_once
(
"guiconfig.inc"
);
require_once
(
"services.inc"
);
if
(
!
is_array
(
$config
[
'dnsupdates'
][
'dnsupdate'
]))
{
$config
[
'dnsupdates'
][
'dnsupdate'
]
=
array
();
...
...
src/www/services_router_advertisements.php
View file @
c55a7c50
...
...
@@ -28,6 +28,7 @@
*/
require_once
(
"guiconfig.inc"
);
require_once
(
"services.inc"
);
/* Fix failover DHCP problem
* http://article.gmane.org/gmane.comp.security.firewalls.pfsense.support/18749
...
...
src/www/services_unbound_acls.php
View file @
c55a7c50
...
...
@@ -30,6 +30,7 @@ require_once("guiconfig.inc");
require_once
(
"unbound.inc"
);
require_once
(
"system.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"services.inc"
);
function
unbound_acl_id_used
(
$id
)
{
global
$config
;
...
...
src/www/services_unbound_advanced.php
View file @
c55a7c50
...
...
@@ -30,6 +30,7 @@ require_once("guiconfig.inc");
require_once
(
"unbound.inc"
);
require_once
(
"system.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"services.inc"
);
if
(
!
is_array
(
$config
[
'unbound'
]))
$config
[
'unbound'
]
=
array
();
...
...
src/www/status_dhcpv6_leases.php
View file @
c55a7c50
...
...
@@ -31,6 +31,7 @@
require_once
(
"guiconfig.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"services.inc"
);
$pgtitle
=
array
(
gettext
(
"Status"
),
gettext
(
"DHCPv6 leases"
));
$shortcut_section
=
"dhcp6"
;
...
...
src/www/system_advanced_admin.php
View file @
c55a7c50
...
...
@@ -34,6 +34,7 @@ require_once("filter.inc");
require_once
(
"system.inc"
);
require_once
(
"unbound.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"services.inc"
);
$pconfig
[
'webguiproto'
]
=
$config
[
'system'
][
'webgui'
][
'protocol'
];
$pconfig
[
'webguiport'
]
=
$config
[
'system'
][
'webgui'
][
'port'
];
...
...
src/www/system_advanced_firewall.php
View file @
c55a7c50
...
...
@@ -31,6 +31,7 @@
require_once
(
"guiconfig.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"services.inc"
);
function
default_table_entries_size
()
{
...
...
src/www/system_advanced_misc.php
View file @
c55a7c50
...
...
@@ -35,6 +35,7 @@ require_once("vpn.inc");
require_once
(
"vslb.inc"
);
require_once
(
"system.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"services.inc"
);
$pconfig
[
'proxyurl'
]
=
$config
[
'system'
][
'proxyurl'
];
$pconfig
[
'proxyport'
]
=
$config
[
'system'
][
'proxyport'
];
...
...
src/www/system_general.php
View file @
c55a7c50
...
...
@@ -33,6 +33,7 @@ require_once("system.inc");
require_once
(
"unbound.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"services.inc"
);
function
get_locale_list
()
{
...
...
src/www/widgets/widgets/dyn_dns_status.widget.php
View file @
c55a7c50
...
...
@@ -33,6 +33,7 @@ $nocsrf = true;
require_once
(
"guiconfig.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"widgets/include/dyn_dns_status.inc"
);
require_once
(
"services.inc"
);
if
(
!
is_array
(
$config
[
'dyndnses'
][
'dyndns'
]))
{
$config
[
'dyndnses'
][
'dyndns'
]
=
array
();
...
...
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