openwrtv4/package
John Crispin 829bf6b9a1 failsafe-mode: print short help on commandline
[base-files] failsafe-mode: print short help on commandline

Like mentioned in ticket https://dev.openwrt.org/ticket/11911
this should make the IRC much quieter. Failsafe is somehow
special and even experienced users are helpless, because they
are not used to this seldom situation. Also: likely you have
no internet access in this mode, so you cannot use the wiki.

a failsafe-session now looks like this:
first we see from 'package/base-files/files/bin/login.sh' the hint:

 === IMPORTANT ============================
  Use 'passwd' to set your login password
  this will disable telnet and enable SSH
 ------------------------------------------

after this the /etc/banner ("OpenWrt - wireless freedom")
and then the new text:

================= FAILSAFE MODE active ================
special commands:
* firstboot          reset settings to factory defaults
* mount_root     mount root-partition with config files

after mount_root:
* passwd                         change root's password
* /etc/config               directory with config files

for more help see:
http://wiki.openwrt.org/doc/howto/generic.failsafe
=======================================================

this supersedes the old patches:
http://patchwork.openwrt.org/patch/3337/
http://patchwork.openwrt.org/patch/3553/

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 42985
2014-10-20 06:29:05 +00:00
..
base-files failsafe-mode: print short help on commandline 2014-10-20 06:29:05 +00:00
boot ar71xx: qihoo-c301: reset imageNtrynum after each successful boot. 2014-10-14 12:21:36 +00:00
devel gdb: update to version 7.8, fix musl build 2014-10-19 22:49:42 +00:00
firmware kernel: add staging r8188eu module (3.13) 2014-04-30 21:53:29 +00:00
kernel mac80211: add a maintenance script for upstream backport commits 2014-10-18 17:39:04 +00:00
libs toolchain: drop the mips softfloat symlink hack 2014-10-19 21:46:03 +00:00
network iproute2: fix musl build 2014-10-19 23:04:17 +00:00
system mountd: explicitly link libubox (needed by libuci) 2014-10-19 21:45:45 +00:00
utils busybox: remove validation message from bootup 2014-10-02 19:47:33 +00:00
Makefile postinst trigger: the new postinst trigger broke IB 2014-09-16 11:56:19 +00:00