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
11 years ago
John Crispin
e078f649b5
procd: make the preinit rules wildcard all buttons for failsafe
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36896
12 years ago
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
12 years ago
John Crispin
831c7ea04f
preinit: move cmdline failsafe= handling ot the generic code
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36430
12 years ago
John Crispin
811d90ff40
mount_root: prepare base-files
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36429
12 years ago
John Crispin
f43b7934d2
make basefiles aware of procd
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36003
12 years ago
Vasilis Tsiligiannis
674439299f
base-files: Don't pass '--set-worker /lib/hotplug2/worker_fork.so' to hotplug2 ( #12781 )
...
SVN-Revision: 35095
12 years ago
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
12 years ago
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
12 years ago
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
14 years ago
Michael Büsch
3a12229c1d
Fix whitespace
...
SVN-Revision: 25632
14 years ago
Jo-Philipp Wich
c5711cadd3
base-files: change /dev permissions to 0755 when hotplug2 is used ( #6039 )
...
SVN-Revision: 23908
14 years ago
Jo-Philipp Wich
6bcdab79b6
base-files: prevent possible sourcing of JFFS2 meta files when merging overlay hooks
...
SVN-Revision: 23114
14 years ago
Daniel Dickinson
b125e3f68e
Fixed duplicated content in file in commit 23111
...
SVN-Revision: 23112
14 years ago
Daniel Dickinson
7fe34123d6
Missed file committing previous change 23110
...
SVN-Revision: 23111
14 years ago
Jo-Philipp Wich
9bf9ea9802
base-files: localize variable in do_move_devtmpfs(), remove extra temporary variable and shorten conditional
...
SVN-Revision: 22380
15 years ago
Alexandros C. Couloumbis
6a85a3b53b
package/base-files: add support for devtmpfs (thank you rauchwolke at gmx.net)
...
SVN-Revision: 22379
15 years ago
Jo-Philipp Wich
e1a654dd9f
base-files: unconditionally unlock the rootfs_data partition ( #7437 )
...
SVN-Revision: 22377
15 years ago
Jo-Philipp Wich
163b15f5bb
base-files: make press key message more explicit in preinit
...
SVN-Revision: 20392
15 years ago
Florian Fainelli
7af8ee0481
change from /jffs to /overlay, patch from Daniel Dickinson
...
SVN-Revision: 20356
15 years ago
Gabor Juhos
32be7f7605
package/base-files: call preinit_ip_deconfig before processing init on initramfs images
...
SVN-Revision: 20159
15 years ago
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
15 years ago
Felix Fietkau
524303b849
base-files: fix enter failsafe message
...
SVN-Revision: 19937
15 years ago
Jo-Philipp Wich
e367f5434a
base-files: preinit: get rid of /dev/null redirections and use grep -q where applicable
...
SVN-Revision: 19478
15 years ago
Florian Fainelli
b93682af14
quieten the check for devs, thanks nbd
...
SVN-Revision: 19473
15 years ago
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
15 years ago
Felix Fietkau
b88fc11e2a
preinit: Remove Ctrl-C prompt...impossible on /dev/console (patch by cshore)
...
SVN-Revision: 19367
15 years ago
Felix Fietkau
56bc02a305
add preinit modularization work by Daniel Dickinson (cshore)
...
SVN-Revision: 19331
15 years ago