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
b3aa303c
Commit
b3aa303c
authored
Mar 26, 2015
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some more php-fpm issues
parent
adacd4b6
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
24 deletions
+6
-24
rc.carpbackup
src/etc/rc.carpbackup
+1
-4
rc.carpmaster
src/etc/rc.carpmaster
+1
-4
rc.dyndns.update
src/etc/rc.dyndns.update
+1
-4
rc.interfaces_wan_configure
src/etc/rc.interfaces_wan_configure
+1
-4
rc.newwanip
src/etc/rc.newwanip
+1
-4
rc.openvpn
src/etc/rc.openvpn
+1
-4
No files found.
src/etc/rc.carpbackup
View file @
b3aa303c
...
...
@@ -33,10 +33,7 @@ require_once("notices.inc");
require_once
(
"openvpn.inc"
);
require_once
(
"interfaces.inc"
);
if
(
isset
(
$_GET
))
$argument
=
$_GET
[
'interface'
];
else
$argument
=
str_replace
(
"
\n
"
,
""
,
$argv
[
1
]);
$argument
=
str_replace
(
"
\n
"
,
""
,
$argv
[
1
]);
if
(
!
strstr
(
$argument
,
"@"
))
log_error
(
"Carp MASTER event triggered from wrong source
{
$argument
}
"
);
...
...
src/etc/rc.carpmaster
View file @
b3aa303c
...
...
@@ -33,10 +33,7 @@ require_once("notices.inc");
require_once
(
"openvpn.inc"
);
require_once
(
"interfaces.inc"
);
if
(
isset
(
$_GET
))
$argument
=
$_GET
[
'interface'
];
else
$argument
=
str_replace
(
"
\n
"
,
""
,
$argv
[
1
]);
$argument
=
str_replace
(
"
\n
"
,
""
,
$argv
[
1
]);
if
(
!
strstr
(
$argument
,
"@"
))
log_error
(
"Carp MASTER event triggered from wrong source
{
$argument
}
"
);
...
...
src/etc/rc.dyndns.update
View file @
b3aa303c
...
...
@@ -35,10 +35,7 @@ require_once("shaper.inc");
/* Interface IP address has changed */
if
(
isset
(
$_GET
))
$argument
=
$_GET
[
'dyndns'
];
else
$argument
=
trim
(
$argv
[
1
],
"
\n
"
);
$argument
=
trim
(
$argv
[
1
],
"
\n
"
);
if
(
empty
(
$argument
)
||
$argument
==
"all"
)
{
services_dyndns_configure
();
...
...
src/etc/rc.interfaces_wan_configure
View file @
b3aa303c
...
...
@@ -32,10 +32,7 @@ require_once("functions.inc");
require_once
(
"filter.inc"
);
require_once
(
"shaper.inc"
);
if
(
isset
(
$_GET
))
$argument
=
$_GET
[
'interface'
];
else
$argument
=
str_replace
(
"
\n
"
,
""
,
$argv
[
1
]);
$argument
=
str_replace
(
"
\n
"
,
""
,
$argv
[
1
]);
if
(
empty
(
$argument
))
interface_configure
(
"wan"
);
else
{
...
...
src/etc/rc.newwanip
View file @
b3aa303c
...
...
@@ -56,10 +56,7 @@ function restart_packages() {
}
/* Interface IP address has changed */
if
(
isset
(
$_GET
[
'interface'
]))
$argument
=
$_GET
[
'interface'
];
else
$argument
=
str_replace
(
"
\n
"
,
""
,
$argv
[
1
]);
$argument
=
str_replace
(
"
\n
"
,
""
,
$argv
[
1
]);
log_error
(
"rc.newwanip: Informational is starting
{
$argument
}
."
);
...
...
src/etc/rc.openvpn
View file @
b3aa303c
...
...
@@ -70,10 +70,7 @@ if (file_exists('/var/run/booting')) {
}
/* Input argument is a comma-separated list of gateway names, blank or "all". */
if
(
isset
(
$_GET
))
$argument
=
$_GET
[
'interface'
];
else
$argument
=
trim
(
$argv
[
1
],
"
\n
"
);
$argument
=
trim
(
$argv
[
1
],
"
\n
"
);
if
(
is_array
(
$config
[
'openvpn'
][
'openvpn-server'
])
||
is_array
(
$config
[
'openvpn'
][
'openvpn-client'
]))
{
if
(
empty
(
$argument
)
||
$argument
==
"all"
)
{
...
...
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