summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/preinit
Commit message (Collapse)AuthorAgeFilesLines
* /etc/functions.sh => /lib/functions.shJo-Philipp Wich2012-06-051-1/+1
| | | | SVN-Revision: 32062
* base-files: preinit: Fixed sourcing of diag.sh in /etc/preinit. This caused ↵Daniel Dickinson2011-07-071-1/+0
| | | | | | 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
* base/block-extroot, base/block-mount: Modified preinit and block-extroot and ↵Daniel Dickinson2010-09-231-6/+6
| | | | | | | | block-mount so that use of block-mount and block-extroot do not require that block-extroot, block-mount, nor the kernel modules they depend, on are required to included in the image. That is block-extroot and dependencies may now be installed as modules onto the jffs2 part of a squashfs system and it will work. In addition packages which are installed into the jffs2 of a squashfs system may now affect preinit, so long as they do not require execution of commands that occur before the merging of the jffs2 and built-in (squashfs) preinit scripts is done. Thanks jow for the preinit merge stuff! SVN-Revision: 23110
* base-files: fix preinit code typosNicolas Thill2010-03-101-1/+1
| | | | | | | Signed-off-by: Ithamar R. Adema <ithamar.adema@team-embedded.nl> Acked-by: Daniel Dickinson <cshore@csolve.net> SVN-Revision: 20124
* add preinit modularization work by Daniel Dickinson (cshore)Felix Fietkau2010-01-251-82/+29
| | | | SVN-Revision: 19331
* package/base-files: set state to 'preinit' before preinit.arch is used, and ↵Gabor Juhos2009-09-051-2/+3
| | | | | | set state to 'failsafe' when entering failsafe mode SVN-Revision: 17517
* preinit: fix failsafe mode through ctrl+c on devices that do not provide a ↵Felix Fietkau2009-09-021-1/+5
| | | | | | preinit.arch file SVN-Revision: 17470
* udev: Update udev package from udev-106 to udev-142Geoff Levand2009-08-241-4/+8
| | | | | | | | | | | | | | | | | | | | Update the init scripts have to use udevadm where appropriate. The udev package no longer provides separate udev utilities like udevtrigger and udevsettle. These have been incorporated into the udev admin program udevadm. Replace the udevextras sub package with config options to the udev package. Update the preinit script to check for '/lib/udev/devices', and copy it to '/dev/ if it is found, then to conditionaly setup /dev the old way with mknod etc. Udev now recommends using the directory '/lib/udev/devices' to initialize the '/dev' directory at startup. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> SVN-Revision: 17378
* base-files: update command line for the new hotplug2Gabor Juhos2009-05-281-2/+2
| | | | SVN-Revision: 16154
* rename our /bin/login script to /bin/login.sh to avoid collisions with ↵Felix Fietkau2009-04-041-1/+1
| | | | | | busybox - we always use -l on telnetd anyway SVN-Revision: 15097
* fix failsafe modeFelix Fietkau2009-04-041-0/+1
| | | | SVN-Revision: 15096
* Fix negative calculation of the tmpfs for devices with few RAM (#3557)Florian Fainelli2008-08-141-1/+1
| | | | SVN-Revision: 12315
* allow ctrl-c to trigger preinitMike Baker2008-08-071-0/+2
| | | | SVN-Revision: 12231
* use the same hotplug2 parameters for initramfs and regularFelix Fietkau2008-08-011-7/+2
| | | | SVN-Revision: 12059
* move the hotplug2 kill command from preinit to /etc/init.d/boot, so that it ↵Felix Fietkau2008-08-011-1/+0
| | | | | | works for initramfs as well SVN-Revision: 12058
* initramfs: start one hotplug2 for coldplugging and one for handling events ↵Felix Fietkau2008-04-231-1/+2
| | | | | | between coldplug and end of /init SVN-Revision: 10930
* use the right hotplug2 invocation for initramfsFelix Fietkau2008-04-231-2/+6
| | | | SVN-Revision: 10928
* base-files: fix a typoGabor Juhos2008-04-231-1/+1
| | | | SVN-Revision: 10927
* This patch re-adds the udev and hotplug2 initialization fixes originally ↵Felix Fietkau2008-04-221-3/+12
| | | | | | | | present in /init but was removed when some code was moved from /init to /etc/preinit in rev 10870. This adds udev initialization and only handles hotplug2 initialization when hotplug2 is present. Signed-off-by: Yuji Mano <yuji.mano@am.sony.com> SVN-Revision: 10912
* assign names to filesystems when mounting virtual ones (closes #3340)Matteo Croce2008-04-211-5/+5
| | | | SVN-Revision: 10903
* remove some redundant codeFelix Fietkau2008-04-201-12/+15
| | | | SVN-Revision: 10870
* add sysupgrade script for config preserving system upgrades. only ↵Felix Fietkau2007-08-211-0/+8
| | | | | | implemented for x86-2.6 at the moment, but can be ported to other platforms easily SVN-Revision: 8456
* add failsafe support for atheros-2.6 (#1501) - only works with ar5315+ at ↵Felix Fietkau2007-07-041-0/+9
| | | | | | the moment SVN-Revision: 7870
* move parts of the failsafe code to the generic base-files - will be used on ↵Felix Fietkau2007-06-301-1/+1
| | | | | | atheros as well as soon as i've added support for it SVN-Revision: 7810
* fix failsafe on broadcom, send netlink events in diag when running linux 2.6Felix Fietkau2007-06-251-14/+12
| | | | SVN-Revision: 7722
* mount_root should only mount the rootMike Baker2007-05-311-5/+42
| | | | SVN-Revision: 7418
* /proc needs to be mounted before preinit.arch for failsafeMike Baker2007-05-141-3/+3
| | | | SVN-Revision: 7220
* Fix set_state preinit stuffFlorian Fainelli2007-05-131-0/+3
| | | | SVN-Revision: 7200
* unified preinit environmentMike Baker2007-05-101-0/+14
| | | | SVN-Revision: 7173
* move the last change to the right placeImre Kaloz2007-04-301-1/+0
| | | | SVN-Revision: 7069
* set $HOME to /tmp on bootupImre Kaloz2007-04-301-0/+1
| | | | SVN-Revision: 7068
* add failsafe support for x86-2.6 and fix mdev support for platforms using ↵Felix Fietkau2007-03-031-1/+2
| | | | | | /etc/preinit SVN-Revision: 6481
* make squashfs overlay support more generic and integrate it for x86-2.6Felix Fietkau2007-03-021-0/+5
SVN-Revision: 6450