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
ed6c71d6
Commit
ed6c71d6
authored
Mar 02, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rc: fix annoying MOTD/console menu gap and update copyright header
parent
58899e55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
rc.initial
src/etc/rc.initial
+6
-7
No files found.
src/etc/rc.initial
View file @
ed6c71d6
#!/bin/sh
# part of pfSense by Scott Ullrich
# Copyright (C) 2004-2011 Scott Ullrich, All rights reserved.
# originally based on m0n0wall (http://neon1.net/m0n0wall)
# Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
# Copyright (c) 2014-2015 Franco Fichtner <franco@opnsense.org>
# Copyright (c) 2004-2011 Scott Ullrich <sullrich@gmail.com>
# Copyright (c) 2003-2004 Manuel Kasper <mk@neon1.net>
# All rights reserved.
# make sure the user can't kill us
...
...
@@ -24,11 +23,12 @@ if [ -n "${*}" ]; then
exit
${
?
}
fi
# endless loop
while
:
;
do
# If we are on the LiveCD advertise the installer
echo
# If we are on the install media advertise that fact
if
_tmpdir
=
$(
mktemp
-d
-q
/.diskless.XXXXXX
)
;
then
rmdir
${
_tmpdir
}
else
...
...
@@ -103,6 +103,5 @@ case ${opmode} in
esac
/usr/local/etc/rc.initial.banner
echo
done
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