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
7aabc9dc
Commit
7aabc9dc
authored
Aug 22, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
console: switch halt and reboot; closes #338
parent
4504c744
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
rc.initial
src/etc/rc.initial
+4
-4
No files found.
src/etc/rc.initial
View file @
7aabc9dc
...
@@ -40,8 +40,8 @@ echo " 1) Assign Interfaces 8) Shell"
...
@@ -40,8 +40,8 @@ echo " 1) Assign Interfaces 8) Shell"
echo
" 2) Set interface(s) IP address 9) pfTop"
echo
" 2) Set interface(s) IP address 9) pfTop"
echo
" 3) Reset the root password 10) Filter Logs"
echo
" 3) Reset the root password 10) Filter Logs"
echo
" 4) Reset to factory defaults 11) Restart web interface"
echo
" 4) Reset to factory defaults 11) Restart web interface"
echo
" 5)
Reboot system
12) Upgrade from console"
echo
" 5)
Halt system
12) Upgrade from console"
echo
" 6)
Halt system
13) Restore a configuration"
echo
" 6)
Reboot system
13) Restore a configuration"
if
[
-n
"
${
option99
}
"
]
;
then
if
[
-n
"
${
option99
}
"
]
;
then
# flat for alignment...
# flat for alignment...
echo
"
${
option99
}
"
echo
"
${
option99
}
"
...
@@ -69,10 +69,10 @@ case ${OPCODE} in
...
@@ -69,10 +69,10 @@ case ${OPCODE} in
/usr/local/etc/rc.initial.defaults
/usr/local/etc/rc.initial.defaults
;;
;;
5
)
5
)
/usr/local/etc/rc.initial.
reboo
t
/usr/local/etc/rc.initial.
hal
t
;;
;;
6
)
6
)
/usr/local/etc/rc.initial.
hal
t
/usr/local/etc/rc.initial.
reboo
t
;;
;;
7
)
7
)
/usr/local/etc/rc.initial.ping
/usr/local/etc/rc.initial.ping
...
...
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