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
d6402919
Commit
d6402919
authored
May 15, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rc: so that's what this thing is for!
parent
2e9413c0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
13 deletions
+11
-13
rc.installer
src/etc/rc.installer
+11
-13
No files found.
src/etc/rc.installer
View file @
d6402919
...
...
@@ -28,26 +28,24 @@ PRODUCT=`grep product_name /usr/local/etc/inc/globals.inc | cut -d'"' -f4`
USERNAME
=
`
grep
factory_shipped_username /usr/local/etc/inc/globals.inc |
cut
-d
'"'
-f4
`
PASSWORD
=
`
grep
factory_shipped_password /usr/local/etc/inc/globals.inc |
cut
-d
'"'
-f4
`
/sbin/
sysctl kern.geom.debugflags
=
16
>
/dev/null
/sbin/
sysctl net.link.ether.inet.log_arp_wrong_iface
=
0
>
/dev/null
sysctl kern.geom.debugflags
=
16
>
/dev/null
sysctl net.link.ether.inet.log_arp_wrong_iface
=
0
>
/dev/null
/sbin/
ifconfig lo0 127.0.0.1/24
/sbin/
ifconfig lo0 up
ifconfig lo0 127.0.0.1/24
ifconfig lo0 up
# Start the backend in the background (must mute all the ouput)
LUA_CPATH
=
'/usr/local/lib/lua/5.0/?.so'
/usr/local/bin/lua50
\
-l
/usr/local/share/lua/5.0/compat-5.1.lua
\
/usr/local/share/dfuibe_lua/main.lua
\
lua50c51 /usr/local/share/dfuibe_lua/main.lua
\
/usr/local/share/dfuibe_lua/conf/BSDInstaller.lua
\
/usr/local/share/dfuibe_lua/conf/FreeBSD.lua
\
/usr/local/share/dfuibe_lua/conf/Product.lua
>
/dev/null 2>&1 &
/sbin/
conscontrol mute on
>
/dev/null
conscontrol mute on
>
/dev/null
# Launch the frontend goo (must include cons25 for first boot)
TERM
=
cons25
/usr/local/sbin/
dfuife_curses
TERM
=
cons25 dfuife_curses
/sbin/
conscontrol mute off
>
/dev/null
conscontrol mute off
>
/dev/null
if
[
!
-f
/tmp/install_complete
]
;
then
echo
"The installation was aborted."
...
...
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