Commit graph

28 commits

Author SHA1 Message Date
Gabor Juhos
f494bcc222 package/base-files: set state to 'preinit' before preinit.arch is used, and set state to 'failsafe' when entering failsafe mode
SVN-Revision: 17517
2009-09-05 18:44:48 +00:00
Felix Fietkau
6155fdf5d3 preinit: fix failsafe mode through ctrl+c on devices that do not provide a preinit.arch file
SVN-Revision: 17470
2009-09-02 15:14:53 +00:00
Geoff Levand
525d86686e udev: Update udev package from udev-106 to udev-142
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
2009-08-24 20:19:26 +00:00
Gabor Juhos
463a6f4bda base-files: update command line for the new hotplug2
SVN-Revision: 16154
2009-05-28 18:48:54 +00:00
Felix Fietkau
de0332f86a rename our /bin/login script to /bin/login.sh to avoid collisions with busybox - we always use -l on telnetd anyway
SVN-Revision: 15097
2009-04-04 09:35:55 +00:00
Felix Fietkau
714ffa3260 fix failsafe mode
SVN-Revision: 15096
2009-04-04 09:35:49 +00:00
Florian Fainelli
38d1cb8cbd Fix negative calculation of the tmpfs for devices with few RAM (#3557)
SVN-Revision: 12315
2008-08-14 22:21:35 +00:00
Mike Baker
1139608784 allow ctrl-c to trigger preinit
SVN-Revision: 12231
2008-08-07 07:17:03 +00:00
Felix Fietkau
aee15469df use the same hotplug2 parameters for initramfs and regular
SVN-Revision: 12059
2008-08-01 03:09:20 +00:00
Felix Fietkau
37c7e13a5f move the hotplug2 kill command from preinit to /etc/init.d/boot, so that it works for initramfs as well
SVN-Revision: 12058
2008-08-01 03:01:42 +00:00
Felix Fietkau
2c3018e0da initramfs: start one hotplug2 for coldplugging and one for handling events between coldplug and end of /init
SVN-Revision: 10930
2008-04-23 16:20:46 +00:00
Felix Fietkau
7232fe9150 use the right hotplug2 invocation for initramfs
SVN-Revision: 10928
2008-04-23 14:28:13 +00:00
Gabor Juhos
8b011c593d base-files: fix a typo
SVN-Revision: 10927
2008-04-23 14:19:35 +00:00
Felix Fietkau
0b341be6c0 This patch re-adds the udev and hotplug2 initialization fixes originally 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
2008-04-22 19:22:05 +00:00
Matteo Croce
227af4b113 assign names to filesystems when mounting virtual ones (closes #3340)
SVN-Revision: 10903
2008-04-21 18:08:05 +00:00
Felix Fietkau
41fb282b6d remove some redundant code
SVN-Revision: 10870
2008-04-20 03:24:43 +00:00
Felix Fietkau
1e38527a52 add sysupgrade script for config preserving system upgrades. only implemented for x86-2.6 at the moment, but can be ported to other platforms easily
SVN-Revision: 8456
2007-08-21 18:23:57 +00:00
Felix Fietkau
114b9a8fb6 add failsafe support for atheros-2.6 (#1501) - only works with ar5315+ at the moment
SVN-Revision: 7870
2007-07-04 04:35:44 +00:00
Felix Fietkau
5e7cb507cd move parts of the failsafe code to the generic base-files - will be used on atheros as well as soon as i've added support for it
SVN-Revision: 7810
2007-06-30 21:09:02 +00:00
Felix Fietkau
8c41e51e92 fix failsafe on broadcom, send netlink events in diag when running linux 2.6
SVN-Revision: 7722
2007-06-25 08:32:25 +00:00
Mike Baker
40071deb7a mount_root should only mount the root
SVN-Revision: 7418
2007-05-31 12:09:08 +00:00
Mike Baker
d502764953 /proc needs to be mounted before preinit.arch for failsafe
SVN-Revision: 7220
2007-05-14 05:37:24 +00:00
Florian Fainelli
5cbadc89e7 Fix set_state preinit stuff
SVN-Revision: 7200
2007-05-13 10:17:57 +00:00
Mike Baker
4a41439c46 unified preinit environment
SVN-Revision: 7173
2007-05-10 14:37:47 +00:00
Imre Kaloz
da547b8ab2 move the last change to the right place
SVN-Revision: 7069
2007-04-30 11:11:05 +00:00
Imre Kaloz
40e3aaf430 set $HOME to /tmp on bootup
SVN-Revision: 7068
2007-04-30 09:59:40 +00:00
Felix Fietkau
c96e173c28 add failsafe support for x86-2.6 and fix mdev support for platforms using /etc/preinit
SVN-Revision: 6481
2007-03-03 22:32:13 +00:00
Felix Fietkau
68ca8e7818 make squashfs overlay support more generic and integrate it for x86-2.6
SVN-Revision: 6450
2007-03-02 01:23:36 +00:00