Commit graph

21 commits

Author SHA1 Message Date
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