summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/preinit
AgeCommit message (Collapse)Author
2009-09-05package/base-files: set state to 'preinit' before preinit.arch is used, and ↵juhosg
set state to 'failsafe' when entering failsafe mode git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-02preinit: fix failsafe mode through ctrl+c on devices that do not provide a ↵nbd
preinit.arch file git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-24udev: Update udev package from udev-106 to udev-142geoff
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-28[package] base-files: update command line for the new hotplug2juhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-04rename our /bin/login script to /bin/login.sh to avoid collisions with ↵nbd
busybox - we always use -l on telnetd anyway git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-04fix failsafe modenbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-14Fix negative calculation of the tmpfs for devices with few RAM (#3557)florian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-07allow ctrl-c to trigger preinitmbm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-01use the same hotplug2 parameters for initramfs and regularnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-01move the hotplug2 kill command from preinit to /etc/init.d/boot, so that it ↵nbd
works for initramfs as well git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-23initramfs: start one hotplug2 for coldplugging and one for handling events ↵nbd
between coldplug and end of /init git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-23use the right hotplug2 invocation for initramfsnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-23[package] base-files: fix a typojuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-22This patch re-adds the udev and hotplug2 initialization fixes originallynbd
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-21assign names to filesystems when mounting virtual ones (closes #3340)matteo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-20remove some redundant codenbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-21add sysupgrade script for config preserving system upgrades. only ↵nbd
implemented for x86-2.6 at the moment, but can be ported to other platforms easily git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-04add failsafe support for atheros-2.6 (#1501) - only works with ar5315+ at ↵nbd
the moment git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30move parts of the failsafe code to the generic base-files - will be used on ↵nbd
atheros as well as soon as i've added support for it git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-25fix failsafe on broadcom, send netlink events in diag when running linux 2.6nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-31mount_root should only mount the rootmbm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-14/proc needs to be mounted before preinit.arch for failsafembm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-13Fix set_state preinit stuffflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10unified preinit environmentmbm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-30move the last change to the right placekaloz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-30set $HOME to /tmp on bootupkaloz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-03add failsafe support for x86-2.6 and fix mdev support for platforms using ↵nbd
/etc/preinit git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02make squashfs overlay support more generic and integrate it for x86-2.6nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6450 3c298f89-4303-0410-b956-a3cf2f4a3e73