Steven Barth
d196b1fc2e
Disable telnet in favor of passwordless SSH
...
This enables passworldless login for root via SSH whenever no root
password is set (e.g. after reset, flashing without keeping config
or in failsafe) and removes telnet support alltogether.
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46809
2015-09-07 19:29:25 +00:00
Felix Fietkau
2d4fa6c055
base-files: make the generic sysinfo script run earlier to allow the mount_root script to pick up the board name
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45496
2015-04-18 20:14:38 +00:00
Felix Fietkau
b3d699bdd3
base-files: add generic preinit script to extract board/model info from device-tree
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45462
2015-04-16 20:09:21 +00:00
Felix Fietkau
bc1fc688af
base-files: keep sysupgrade.tgz until /etc/init.d/done has been called
...
This makes interrupted boots after sysupgrade more reliable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44941
2015-03-22 15:11:20 +00:00
John Crispin
019ea725aa
add "preinit_regular" diag.sh set_state argument
...
This new argument is used right after starting regular preinit (which
happens if failsafe wasn't triggered). The main purpose of "preinit"
argument is to indicate that failsafe can be triggered, however we were
missing a way to inform user that we don't wait for a trigger anymore.
With this change it's clear when failsafe mode can be triggered.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43715
2014-12-15 10:37:00 +00:00
John Crispin
f76755da3f
packages: fix typo in OpenWrt name
...
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 43542
2014-12-07 16:53:30 +00:00
John Crispin
1d5ac95850
base-files: make use of new fstools
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 40416
2014-04-07 15:10:15 +00:00
John Crispin
0dc9d8d6ff
fstools: add the new fstools package
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39895
2014-03-12 19:32:51 +00:00
Luka Perkov
3ceb6b3274
base-files: fix whitespaces
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 39006
2013-12-09 11:30:14 +00:00
John Crispin
93e9a71538
base-files: allow users to delect debug level during boot
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38909
2013-11-25 08:34:55 +00:00
John Crispin
3e54dbbf60
base-files: be verbose when entering failsafe due to a button being pressed
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37535
2013-07-25 20:28:36 +00:00
John Crispin
e078f649b5
procd: make the preinit rules wildcard all buttons for failsafe
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36896
2013-06-10 08:24:44 +00:00
John Crispin
5e45a68a4a
base-files: fix failsafe via button press
...
entering failsafe by pressing a button during boot was broken for procd as init
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36891
2013-06-10 08:24:13 +00:00
John Crispin
831c7ea04f
preinit: move cmdline failsafe= handling ot the generic code
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36430
2013-04-25 19:02:37 +00:00
John Crispin
811d90ff40
mount_root: prepare base-files
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36429
2013-04-25 19:02:32 +00:00
John Crispin
f43b7934d2
make basefiles aware of procd
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36003
2013-03-13 18:11:19 +00:00
Vasilis Tsiligiannis
674439299f
base-files: Don't pass '--set-worker /lib/hotplug2/worker_fork.so' to hotplug2 ( #12781 )
...
SVN-Revision: 35095
2013-01-11 13:20:51 +00:00
Mirko Vogt
439a869090
Do not overload mount-call - trying to reduce confusion
...
The behaviour of calling 'mount' differed depending on whether it called
the busybox-mount, the mount of util-linux, the mount defined in
/lib/functions.sh and /lib/functions/boot.sh
/etc/preinit even included /lib/functions.sh and /lib/functions/boot.sh,
both re-defining 'mount'.
SVN-Revision: 34792
2012-12-19 16:07:46 +00:00
Florian Fainelli
5ae2524d3a
base-files: use a natural mount syntax
...
Busybox built against musl-libc will choke on these otherwise, besides that
it is more natural to use the filesystem type, then options, then name, then
mountpoint.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34308
2012-11-23 20:02:02 +00:00
Daniel Dickinson
1f69f4cf64
base-files: preinit: Fixed sourcing of diag.sh in /etc/preinit. This caused errors due to frequent use of /proc/cpuinfo to determine board name to pick led layout. Now diag.sh (which only defines set_state and any helper functions) is sourced by a proper preinit function during preinit_main, which is after /proc has been brought up, unlike in /etc/preinit
...
SVN-Revision: 27501
2011-07-07 02:52:02 +00:00
Michael Büsch
3a12229c1d
Fix whitespace
...
SVN-Revision: 25632
2011-02-20 21:25:45 +00:00
Jo-Philipp Wich
c5711cadd3
base-files: change /dev permissions to 0755 when hotplug2 is used ( #6039 )
...
SVN-Revision: 23908
2010-11-07 00:28:15 +00:00
Jo-Philipp Wich
6bcdab79b6
base-files: prevent possible sourcing of JFFS2 meta files when merging overlay hooks
...
SVN-Revision: 23114
2010-09-23 17:32:58 +00:00
Daniel Dickinson
b125e3f68e
Fixed duplicated content in file in commit 23111
...
SVN-Revision: 23112
2010-09-23 14:06:47 +00:00
Daniel Dickinson
7fe34123d6
Missed file committing previous change 23110
...
SVN-Revision: 23111
2010-09-23 14:03:22 +00:00
Jo-Philipp Wich
9bf9ea9802
base-files: localize variable in do_move_devtmpfs(), remove extra temporary variable and shorten conditional
...
SVN-Revision: 22380
2010-07-24 19:33:11 +00:00
Alexandros C. Couloumbis
6a85a3b53b
package/base-files: add support for devtmpfs (thank you rauchwolke at gmx.net)
...
SVN-Revision: 22379
2010-07-24 19:21:27 +00:00
Jo-Philipp Wich
e1a654dd9f
base-files: unconditionally unlock the rootfs_data partition ( #7437 )
...
SVN-Revision: 22377
2010-07-24 15:47:15 +00:00
Jo-Philipp Wich
163b15f5bb
base-files: make press key message more explicit in preinit
...
SVN-Revision: 20392
2010-03-23 22:56:12 +00:00
Florian Fainelli
7af8ee0481
change from /jffs to /overlay, patch from Daniel Dickinson
...
SVN-Revision: 20356
2010-03-21 17:16:50 +00:00
Gabor Juhos
32be7f7605
package/base-files: call preinit_ip_deconfig before processing init on initramfs images
...
SVN-Revision: 20159
2010-03-12 14:37:19 +00:00
Nicolas Thill
d08b2b02cf
base-files: fix preinit code typos
...
Signed-off-by: Ithamar R. Adema <ithamar.adema@team-embedded.nl>
Acked-by: Daniel Dickinson <cshore@csolve.net>
SVN-Revision: 20124
2010-03-10 18:09:53 +00:00
Felix Fietkau
524303b849
base-files: fix enter failsafe message
...
SVN-Revision: 19937
2010-03-01 18:20:39 +00:00
Jo-Philipp Wich
e367f5434a
base-files: preinit: get rid of /dev/null redirections and use grep -q where applicable
...
SVN-Revision: 19478
2010-02-01 00:32:46 +00:00
Florian Fainelli
b93682af14
quieten the check for devs, thanks nbd
...
SVN-Revision: 19473
2010-01-31 21:09:53 +00:00
Florian Fainelli
7480065917
/dev/null was used before it was created, so an empty file was created. This prevented the actual device node from being created. The attached patch fixes that, patch from cshore
...
SVN-Revision: 19472
2010-01-31 21:01:21 +00:00
Felix Fietkau
b88fc11e2a
preinit: Remove Ctrl-C prompt...impossible on /dev/console (patch by cshore)
...
SVN-Revision: 19367
2010-01-28 19:27:49 +00:00
Felix Fietkau
56bc02a305
add preinit modularization work by Daniel Dickinson (cshore)
...
SVN-Revision: 19331
2010-01-25 17:11:17 +00:00