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
69b290dd
Commit
69b290dd
authored
Dec 28, 2014
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opnsense: apply whitespace changes
*runs for cover in fear of Ad's uncommited changes*
parent
368abf5d
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
15 additions
and
31 deletions
+15
-31
_users_ad_develop_deciso_opnsense_gui_app_views_index.volt.php
...s_ad_develop_deciso_opnsense_gui_app_views_index.volt.php
+1
-1
_users_ad_develop_deciso_opnsense_gui_app_views_index_index.volt.php
...evelop_deciso_opnsense_gui_app_views_index_index.volt.php
+1
-1
IndexController.php
src/opnsense/mvc/app/controllers/IndexController.php
+0
-1
ARP.php
src/opnsense/mvc/app/models/OPNsense/CaptivePortal/ARP.php
+1
-1
DB.php
src/opnsense/mvc/app/models/OPNsense/CaptivePortal/DB.php
+1
-1
Rules.php
src/opnsense/mvc/app/models/OPNsense/CaptivePortal/Rules.php
+1
-1
Shell.php
src/opnsense/mvc/app/models/OPNsense/Core/Shell.php
+1
-1
index.volt
src/opnsense/mvc/app/views/index.volt
+1
-1
index.volt
src/opnsense/mvc/app/views/index/index.volt
+1
-1
test.php
src/opnsense/mvc/script/test.php
+0
-5
pkg_updatecheck.sh
src/opnsense/scripts/pkg_updatecheck.sh
+6
-6
pkg_upgrade.sh
src/opnsense/scripts/pkg_upgrade.sh
+0
-2
actions_filter.conf
src/opnsense/service/conf/actions_filter.conf
+0
-1
actions_interface.conf
src/opnsense/service/conf/actions_interface.conf
+0
-1
actions_service.conf
src/opnsense/service/conf/actions_service.conf
+0
-2
check_reload_status.conf
src/opnsense/service/conf/check_reload_status.conf
+0
-1
execute_command.py
src/opnsense/service/execute_command.py
+0
-3
__init__.py
src/opnsense/service/modules/__init__.py
+1
-1
No files found.
src/opnsense/mvc/app/cache/_users_ad_develop_deciso_opnsense_gui_app_views_index.volt.php
View file @
69b290dd
...
...
@@ -6,4 +6,4 @@
<body>
<?php
echo
$this
->
getContent
();
?>
</body>
</html>
\ No newline at end of file
</html>
src/opnsense/mvc/app/cache/_users_ad_develop_deciso_opnsense_gui_app_views_index_index.volt.php
View file @
69b290dd
<h1>
Congratulations!
</h1>
<p>
You're now flying with Phalcon. Great things are about to happen!
</p>
\ No newline at end of file
<p>
You're now flying with Phalcon. Great things are about to happen!
</p>
src/opnsense/mvc/app/controllers/IndexController.php
View file @
69b290dd
...
...
@@ -9,4 +9,3 @@ class IndexController extends ControllerBase
}
}
src/opnsense/mvc/app/models/OPNsense/CaptivePortal/ARP.php
View file @
69b290dd
...
...
@@ -109,4 +109,4 @@ class ARP
}
}
\ No newline at end of file
}
src/opnsense/mvc/app/models/OPNsense/CaptivePortal/DB.php
View file @
69b290dd
...
...
@@ -384,4 +384,4 @@ class DB {
}
\ No newline at end of file
}
src/opnsense/mvc/app/models/OPNsense/CaptivePortal/Rules.php
View file @
69b290dd
...
...
@@ -318,4 +318,4 @@ class Rules {
file_put_contents
(
$filename
,
$ruleset_txt
);
}
}
\ No newline at end of file
}
src/opnsense/mvc/app/models/OPNsense/Core/Shell.php
View file @
69b290dd
...
...
@@ -123,4 +123,4 @@ class Shell
}
}
\ No newline at end of file
}
src/opnsense/mvc/app/views/index.volt
View file @
69b290dd
...
...
@@ -6,4 +6,4 @@
<body>
{{ content() }}
</body>
</html>
\ No newline at end of file
</html>
src/opnsense/mvc/app/views/index/index.volt
View file @
69b290dd
<h1>Congratulations!</h1>
<p>You're now flying with Phalcon. Great things are about to happen!</p>
\ No newline at end of file
<p>You're now flying with Phalcon. Great things are about to happen!</p>
src/opnsense/mvc/script/test.php
View file @
69b290dd
...
...
@@ -36,8 +36,3 @@ print_r($acc_list);
//print_r($config->xpath('//pfsense/interfaces/*') );
//$rules= new \Core\Captiveportal\Rules();
src/opnsense/scripts/pkg_updatecheck.sh
View file @
69b290dd
...
...
@@ -74,9 +74,9 @@ if [ "$pkg_running" == "" ]; then
# Lets get coreversion first
core_version
=
`
pkg info opnsense |
grep
'Version'
|
awk
-F
'[:]'
'{print $2}'
`
# Changed to reflect current installed core version
# Timeout loop for pkg update -f
while
[
"
$pkg_running
"
!=
""
]
&&
[
$timer
-ne
0
]
;
while
[
"
$pkg_running
"
!=
""
]
&&
[
$timer
-ne
0
]
;
do
sleep
1
# wait for 1 second
pkg_running
=
`
ps
-x
|
grep
"pkg "
|
grep
-v
"grep"
`
...
...
@@ -94,7 +94,7 @@ if [ "$pkg_running" == "" ]; then
pkg_running
=
"started"
# Set running state to arbitrary value
# Timeout loop for pkg upgrade -n
while
[
"
$pkg_running
"
!=
""
]
&&
[
$timer
-ne
0
]
;
while
[
"
$pkg_running
"
!=
""
]
&&
[
$timer
-ne
0
]
;
do
sleep
1
# wait for 1 second
#pkg_running=`ps | grep 'pkg update -f' | grep -v 'grep' | tail -n 1 | awk -F '[ ]' '{print $1}'`
...
...
@@ -109,7 +109,7 @@ if [ "$pkg_running" == "" ]; then
if
[
"
$repo_ok
"
==
""
]
;
then
# Repository can be used for updates
repository
=
"ok"
updates
=
`
cat
$tmp_pkg_output_file
|
grep
'The following'
|
awk
-F
'[ ]'
'{print $3}'
`
updates
=
`
cat
$tmp_pkg_output_file
|
grep
'The following'
|
awk
-F
'[ ]'
'{print $3}'
`
if
[
"
$updates
"
==
""
]
;
then
# There are no updates
updates
=
"0"
...
...
@@ -131,7 +131,7 @@ if [ "$pkg_running" == "" ]; then
else
i
=
`
echo
$i
|
tr
-d
:
`
#echo "name:$i"
if
[
"
$packages_new
"
==
""
]
;
then
if
[
"
$packages_new
"
==
""
]
;
then
packages_new
=
$packages_new
"{
\"
name
\"
:
\"
$i
\"
,"
# If it is the first item then we do not want a seperator
else
packages_new
=
$packages_new
", {
\"
name
\"
:
\"
$i
\"
,"
...
...
@@ -157,7 +157,7 @@ if [ "$pkg_running" == "" ]; then
itemcount
=
0
# This is not a valid item so reset item count
else
i
=
`
echo
$i
|
tr
-d
:
`
if
[
"
$packages_upgraded
"
==
""
]
;
then
if
[
"
$packages_upgraded
"
==
""
]
;
then
packages_upgraded
=
$packages_upgraded
"{
\"
name
\"
:
\"
$i
\"
,"
# If it is the first item then we do not want a seperator
else
packages_upgraded
=
$packages_upgraded
", {
\"
name
\"
:
\"
$i
\"
,"
...
...
src/opnsense/scripts/pkg_upgrade.sh
View file @
69b290dd
...
...
@@ -13,5 +13,3 @@ else
echo
'Upgrade already in progress'
echo
'***DONE***'
fi
src/opnsense/service/conf/actions_filter.conf
View file @
69b290dd
...
...
@@ -21,4 +21,3 @@ command:/usr/local/etc/rc.filter_synchronize
parameters
:
type
:
script
message
:
Syncing
firewall
src/opnsense/service/conf/actions_interface.conf
View file @
69b290dd
...
...
@@ -57,4 +57,3 @@ command:/usr/local/etc/rc.carpbackup
parameters
:%
s
type
:
script
message
:
Carp
backup
event
src/opnsense/service/conf/actions_service.conf
View file @
69b290dd
...
...
@@ -70,5 +70,3 @@ command:/usr/local/etc/rc.savevoucher
parameters
:
type
:
script
message
:
Synching
vouchers
src/opnsense/service/conf/check_reload_status.conf
View file @
69b290dd
[
main
]
socket_filename
:/
var
/
run
/
check_reload_status
pid_filename
:/
var
/
run
/
check_reload_status
.
pid
src/opnsense/service/execute_command.py
View file @
69b290dd
...
...
@@ -65,6 +65,3 @@ try:
print
(
'response:
%
s'
%
sock
.
recv
(
4096
))
finally
:
sock
.
close
()
src/opnsense/service/modules/__init__.py
View file @
69b290dd
...
...
@@ -30,4 +30,4 @@
"""
\ No newline at end of file
"""
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