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