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
2cc99cce
Commit
2cc99cce
authored
Apr 11, 2016
by
Ad Schellevis
Committed by
Franco Fichtner
Apr 17, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(firewall, alias) make sure aliastables directory is there before writing geoip data
(cherry picked from commit
b01e51bd
)
parent
5e1697f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
rc.update_urltables
src/etc/rc.update_urltables
+4
-0
No files found.
src/etc/rc.update_urltables
View file @
2cc99cce
...
@@ -41,6 +41,10 @@ if (count($todo) > 0) {
...
@@ -41,6 +41,10 @@ if (count($todo) > 0) {
}
else
{
}
else
{
log_error
(
"
{
$argv
[
0
]
}
: GeoIP database doesn't need updating"
);
log_error
(
"
{
$argv
[
0
]
}
: GeoIP database doesn't need updating"
);
}
}
// create alias target directly if it doesn't exists (mfs)
if
(
!
file_exists
(
"/var/db/aliastables/"
))
{
mkdir
(
"/var/db/aliastables"
);
}
}
}
log_error
(
"
{
$argv
[
0
]
}
: Starting URL table alias updates"
);
log_error
(
"
{
$argv
[
0
]
}
: Starting URL table alias updates"
);
...
...
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