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
87e8f0e1
Commit
87e8f0e1
authored
Dec 09, 2014
by
Jos Schellevis
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git.opnsense.org:repo/opnsense-core
parents
571a6ba5
750ed59b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
9 deletions
+6
-9
rc.banner
etc/rc.banner
+2
-2
config.gui.inc
usr/local/etc/inc/config.gui.inc
+2
-2
config.inc
usr/local/etc/inc/config.inc
+2
-2
rc.cdrom
usr/local/etc/rc.cdrom
+0
-3
No files found.
etc/rc.banner
View file @
87e8f0e1
...
...
@@ -36,8 +36,8 @@
require_once
(
"gwlb.inc"
);
require_once
(
"interfaces.inc"
);
$version
=
trim
(
file_get_contents
(
"
{
$g
[
'etc_path'
]
}
/version"
));
$platform
=
trim
(
file_get_contents
(
"
{
$g
[
'etc_path'
]
}
/platform"
));
$version
=
trim
(
file_get_contents
(
"
/usr/local/etc
/version"
));
$platform
=
trim
(
file_get_contents
(
"
/usr/local/etc
/platform"
));
$hostname
=
$config
[
'system'
][
'hostname'
];
$product
=
$g
[
'product_name'
];
$machine
=
trim
(
`uname -m`
);
...
...
usr/local/etc/inc/config.gui.inc
View file @
87e8f0e1
...
...
@@ -62,8 +62,8 @@ else
require_once
(
"crypt.inc"
);
/* read platform */
if
(
file_exists
(
"
{
$g
[
'etc_path'
]
}
/platform"
))
{
$g
[
'platform'
]
=
chop
(
file_get_contents
(
"
{
$g
[
'etc_path'
]
}
/platform"
));
if
(
file_exists
(
"
/usr/local/etc
/platform"
))
{
$g
[
'platform'
]
=
chop
(
file_get_contents
(
"
/usr/local/etc
/platform"
));
}
else
{
$g
[
'platform'
]
=
"unknown"
;
}
...
...
usr/local/etc/inc/config.inc
View file @
87e8f0e1
...
...
@@ -74,8 +74,8 @@ require_once("crypt.inc");
/* read platform */
if
(
$g
[
'booting'
])
echo
"."
;
if
(
file_exists
(
"
{
$g
[
'etc_path'
]
}
/platform"
))
{
$g
[
'platform'
]
=
chop
(
file_get_contents
(
"
{
$g
[
'etc_path'
]
}
/platform"
));
if
(
file_exists
(
"
/usr/local/etc
/platform"
))
{
$g
[
'platform'
]
=
chop
(
file_get_contents
(
"
/usr/local/etc
/platform"
));
}
else
{
$g
[
'platform'
]
=
"unknown"
;
}
...
...
usr/local/etc/rc.cdrom
View file @
87e8f0e1
...
...
@@ -6,9 +6,6 @@
# Size of memory file system /conf /home partitions
partsize
=
"6m"
# Run some initialization routines
/etc/rc.d/uzip start
export
VARMFS_COPYDBPKG
=
yes
for
i
in
tmp varmfs etcmfs
;
do
...
...
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