From: Aaron LI Date: Fri, 1 Jun 2018 06:08:57 +0000 (+0800) Subject: initrd: Make etc/motd more informative X-Git-Tag: v5.5.0~527 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/fa8f1016ba7a7a1aca1f77c6fa6b838fabdb774e initrd: Make etc/motd more informative Provide more information about the rescue shell environment, such as how to mount the real root partition and continue, the mined editor, and more on network connections. --- diff --git a/share/initrd/etc/motd b/share/initrd/etc/motd index bb9c9eb11b..0c61863413 100644 --- a/share/initrd/etc/motd +++ b/share/initrd/etc/motd @@ -1,5 +1,16 @@ -use ifconfig to list available interfaces - wifi example - dowpa ath0 ssid password - ethernet - dhclient em0 +*** RESCUE SHELL *** + +Fix problems and mount the real root partition at `/new_root', then exit +this shell to continue the normal boot. + +* Text editor: + # mined (F1: help, Ctrl-W: write file, Ctrl-X: exit) +* List available interfaces: + # ifconfig +* Wired connection and DHCP: + # dhclient +* Connect to WiFi: + # dowpa + (Onced connected, use `dhclient' to do DHCP)