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
d44f8e34
Commit
d44f8e34
authored
Dec 09, 2014
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
etc: moar of the same
parent
df74ed1e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
12 deletions
+5
-12
fbtab
etc/fbtab
+0
-4
ddb.conf
usr/local/etc/ddb.conf
+0
-0
rc
usr/local/etc/rc
+3
-3
rc.dumpon
usr/local/etc/rc.dumpon
+2
-5
rc.savecore
usr/local/etc/rc.savecore
+0
-0
No files found.
etc/fbtab
deleted
100644 → 0
View file @
df74ed1e
# $FreeBSD: src/etc/fbtab,v 1.3 1999/09/13 17:09:07 peter Exp $
#
#/dev/ttyv0 0600 /dev/console
#/dev/ttyv0 0600 /dev/pcaudio:/dev/pcaudioctl
etc/ddb.conf
→
usr/local/
etc/ddb.conf
View file @
d44f8e34
File moved
usr/local/etc/rc
View file @
d44f8e34
...
@@ -25,7 +25,7 @@ version=`/bin/cat /usr/local/etc/version`
...
@@ -25,7 +25,7 @@ version=`/bin/cat /usr/local/etc/version`
# Setup dumpdev/ddb/savecore"
# Setup dumpdev/ddb/savecore"
echo
"Configuring crash dumps..."
echo
"Configuring crash dumps..."
if
[
"
$PLATFORM
"
=
"pfSense"
]
;
then
if
[
"
$PLATFORM
"
=
"pfSense"
]
;
then
/etc/rc.dumpon
/
usr/local/
etc/rc.dumpon
fi
fi
if
[
-e
/root/force_fsck
]
;
then
if
[
-e
/root/force_fsck
]
;
then
...
@@ -183,8 +183,8 @@ elif [ "$PLATFORM" = "jail" ]; then
...
@@ -183,8 +183,8 @@ elif [ "$PLATFORM" = "jail" ]; then
# do nothing for jail platform
# do nothing for jail platform
else
else
SWAPDEVICE
=
`
/bin/cat /etc/fstab | /usr/bin/grep swap | /usr/bin/cut
-f1
`
SWAPDEVICE
=
`
/bin/cat /etc/fstab | /usr/bin/grep swap | /usr/bin/cut
-f1
`
/sbin/swapon
-a
2>/dev/null
>
/dev/null
/sbin/swapon
-a
/etc/rc.savecore
/
usr/local/
etc/rc.savecore
if
[
-d
/root/var/db/pkg
]
;
then
if
[
-d
/root/var/db/pkg
]
;
then
# User must have just disabled RAM disks, move these back into place.
# User must have just disabled RAM disks, move these back into place.
...
...
etc/rc.dumpon
→
usr/local/
etc/rc.dumpon
View file @
d44f8e34
#!/bin/sh
#!/bin/sh
# Based on:
# FreeBSD: src/etc/rc.d/dumpon,v 1.12.2.1.4.1 2010/06/14 02:09:06 kensmith Exp
# dumpon
dumpon_try
()
dumpon_try
()
{
{
...
@@ -24,6 +20,7 @@ while read dev mp type more ; do
...
@@ -24,6 +20,7 @@ while read dev mp type more ; do
[
-c
"
${
dev
}
"
]
||
continue
[
-c
"
${
dev
}
"
]
||
continue
dumpon_try
"
${
dev
}
"
&&
works
=
true
dumpon_try
"
${
dev
}
"
&&
works
=
true
done
</etc/fstab
done
</etc/fstab
if
[
"
${
works
}
"
!=
"true"
]
;
then
if
[
"
${
works
}
"
!=
"true"
]
;
then
echo
"No suitable dump device was found."
1>&2
echo
"No suitable dump device was found."
1>&2
exit
exit
...
@@ -31,5 +28,5 @@ fi
...
@@ -31,5 +28,5 @@ fi
# ddb
# ddb
if
[
!
-z
"
`
sysctl
-Nq
debug.ddb.scripting.scripts
`
"
]
;
then
if
[
!
-z
"
`
sysctl
-Nq
debug.ddb.scripting.scripts
`
"
]
;
then
/sbin/ddb /etc/ddb.conf
/sbin/ddb /
usr/local/
etc/ddb.conf
fi
fi
etc/rc.savecore
→
usr/local/
etc/rc.savecore
View file @
d44f8e34
File moved
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