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
b5dc4a42
Commit
b5dc4a42
authored
Nov 25, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auth: merge MOTD rework from master
parent
34166c00
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
9 deletions
+17
-9
rc.initial
src/etc/rc.initial
+7
-9
+TARGETS
src/opnsense/service/templates/OPNsense/Auth/+TARGETS
+1
-0
motd.in
src/opnsense/service/templates/OPNsense/Auth/motd.in
+9
-0
No files found.
src/etc/rc.initial
View file @
b5dc4a42
...
@@ -26,7 +26,6 @@ while : ; do
...
@@ -26,7 +26,6 @@ while : ; do
set
-e
set
-e
echo
echo
echo
" 0) Logout 7) Ping host"
echo
" 0) Logout 7) Ping host"
echo
" 1) Assign Interfaces 8) Shell"
echo
" 1) Assign Interfaces 8) Shell"
echo
" 2) Set interface(s) IP address 9) pfTop"
echo
" 2) Set interface(s) IP address 9) pfTop"
...
@@ -34,7 +33,6 @@ echo " 3) Reset the root password 10) Filter Logs"
...
@@ -34,7 +33,6 @@ 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) Power off system 12) Upgrade from console"
echo
" 5) Power off system 12) Upgrade from console"
echo
" 6) Reboot system 13) Restore a configuration"
echo
" 6) Reboot system 13) Restore a configuration"
echo
echo
read
-p
"Enter an option: "
OPCODE
read
-p
"Enter an option: "
OPCODE
echo
echo
...
...
src/opnsense/service/templates/OPNsense/Auth/+TARGETS
View file @
b5dc4a42
motd:/etc/motd
sudoers:/usr/local/etc/sudoers.d/opnsense
sudoers:/usr/local/etc/sudoers.d/opnsense
src/opnsense/service/templates/OPNsense/Auth/motd.in
0 → 100644
View file @
b5dc4a42
----------------------------------------------
| Hello, this is OPNsense %%CORE_ABI%% | @@@@@@@@@@@@@@@
| | @@@@ @@@@
| Website: https://opnsense.org/ | @@@\\\ ///@@@
| Handbook: https://docs.opnsense.org/ | )))))))) ((((((((
| Forums: https://forums.opnsense.org/ | @@@/// \\\@@@
| Lists: https://lists.opnsense.org/ | @@@@ @@@@
| Code: https://github.com/opnsense | @@@@@@@@@@@@@@@
----------------------------------------------
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