Commit b5dc4a42 authored by Franco Fichtner's avatar Franco Fichtner

auth: merge MOTD rework from master

parent 34166c00
...@@ -26,15 +26,13 @@ while : ; do ...@@ -26,15 +26,13 @@ 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" 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) 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
......
motd:/etc/motd
sudoers:/usr/local/etc/sudoers.d/opnsense sudoers:/usr/local/etc/sudoers.d/opnsense
----------------------------------------------
| 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 | @@@@@@@@@@@@@@@
----------------------------------------------
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment