1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 05:58:53 +02:00
openwrt/package/base-files/files/etc
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
..
config network: Unbind DHCPv6 from underlying interfaces 2014-10-08 13:08:05 +00:00
hotplug.d/net base-files: drop 2 pointless hotplug trigger stubs 2013-06-21 16:53:51 +00:00
init.d package/*: remove useless explicit set of function returncode 2014-08-25 06:35:50 +00:00
rc.button base-files: /etc/rc.button/power should be executable 2014-06-03 06:52:46 +00:00
uci-defaults base-files: remove a 'not found' error message during system boot 2014-10-03 10:56:43 +00:00
banner BB is branched, get ready for Chaos Calmer 2014-07-29 08:24:57 +00:00
banner.failsafe failsafe-mode: print short help on commandline 2014-10-20 06:29:05 +00:00
device_info base-files: properly escape strings for version info 2014-07-29 13:30:23 +00:00
diag.sh
group
hosts
inittab make basefiles aware of procd 2013-03-13 18:11:19 +00:00
openwrt_release base-files: properly escape strings for version info 2014-07-29 13:30:23 +00:00
openwrt_version
passwd
preinit /lib/functions.sh: move rarely used mtd and macaddr related functions to /lib/functions/system.sh 2014-04-07 10:29:47 +00:00
profile failsafe-mode: print short help on commandline 2014-10-20 06:29:05 +00:00
protocols
rc.common rc.common: when reloading a service using procd, fall back to calling start instead of restart 2014-07-03 06:21:49 +00:00
rc.local
services
shadow the root password should be empty for real, like before 2014-02-21 10:39:14 +00:00
shells
sysctl.conf base-files: increase igmp_max_memberships to improve multicast-proxy handling 2014-08-20 10:18:40 +00:00
sysupgrade.conf