summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/preinit
Commit message (Collapse)AuthorAgeFilesLines
* base-files: fix some failsafe issuesJohn Crispin2016-05-231-0/+1
| | | | | | * if the shell was closed booting continued Signed-off-by: John Crispin <john@phrozen.org>
* base-files: Allow to disable failsafe modeJohn Crispin2016-04-193-1/+7
| | | | Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
* base-files: fix error message during bootJohn Crispin2016-04-111-1/+1
| | | | | | | | preinit spews out this message "cat: can't open '/proc/device-tree/model': No such file or directory" Signed-off-by: John Crispin <john@phrozen.org>
* branding: add LEDE brandingJohn Crispin2016-03-241-1/+1
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* base-files: add /etc/iproute2/rt_tables, replace ifconfig-usageSteven Barth2015-09-081-2/+4
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46830
* Disable telnet in favor of passwordless SSHSteven Barth2015-09-071-2/+3
| | | | | | | | | | This enables passworldless login for root via SSH whenever no root password is set (e.g. after reset, flashing without keeping config or in failsafe) and removes telnet support alltogether. Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46809
* base-files: make the generic sysinfo script run earlier to allow the ↵Felix Fietkau2015-04-181-0/+0
| | | | | | | | mount_root script to pick up the board name Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45496
* base-files: add generic preinit script to extract board/model info from ↵Felix Fietkau2015-04-161-0/+10
| | | | | | | | device-tree Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45462
* base-files: keep sysupgrade.tgz until /etc/init.d/done has been calledFelix Fietkau2015-03-221-4/+1
| | | | | | | | This makes interrupted boots after sysupgrade more reliable Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44941
* add "preinit_regular" diag.sh set_state argumentJohn Crispin2014-12-152-6/+2
| | | | | | | | | | | | This new argument is used right after starting regular preinit (which happens if failsafe wasn't triggered). The main purpose of "preinit" argument is to indicate that failsafe can be triggered, however we were missing a way to inform user that we don't wait for a trigger anymore. With this change it's clear when failsafe mode can be triggered. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43715
* packages: fix typo in OpenWrt nameJohn Crispin2014-12-071-1/+1
| | | | | | Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 43542
* base-files: make use of new fstoolsJohn Crispin2014-04-071-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 40416
* fstools: add the new fstools packageJohn Crispin2014-03-121-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39895
* base-files: fix whitespacesLuka Perkov2013-12-098-127/+118
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 39006
* base-files: allow users to delect debug level during bootJohn Crispin2013-11-251-8/+17
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38909
* base-files: be verbose when entering failsafe due to a button being pressedJohn Crispin2013-07-251-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37535
* procd: make the preinit rules wildcard all buttons for failsafeJohn Crispin2013-06-101-2/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36896
* base-files: fix failsafe via button pressJohn Crispin2013-06-101-1/+1
| | | | | | | | 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
* preinit: move cmdline failsafe= handling ot the generic codeJohn Crispin2013-04-251-4/+7
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36430
* mount_root: prepare base-filesJohn Crispin2013-04-2510-158/+10
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36429
* make basefiles aware of procdJohn Crispin2013-03-1313-191/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36003
* base-files: Don't pass '--set-worker /lib/hotplug2/worker_fork.so' to ↵Vasilis Tsiligiannis2013-01-111-3/+3
| | | | | | hotplug2 (#12781) SVN-Revision: 35095
* Do not overload mount-call - trying to reduce confusionMirko Vogt2012-12-196-11/+11
| | | | | | | | | | | 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
* base-files: use a natural mount syntaxFlorian Fainelli2012-11-235-8/+7
| | | | | | | | | | 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
* base-files: preinit: Fixed sourcing of diag.sh in /etc/preinit. This caused ↵Daniel Dickinson2011-07-071-0/+7
| | | | | | 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
* Fix whitespaceMichael Büsch2011-02-201-1/+1
| | | | SVN-Revision: 25632
* base-files: change /dev permissions to 0755 when hotplug2 is used (#6039)Jo-Philipp Wich2010-11-071-1/+1
| | | | SVN-Revision: 23908
* base-files: prevent possible sourcing of JFFS2 meta files when merging ↵Jo-Philipp Wich2010-09-231-1/+1
| | | | | | overlay hooks SVN-Revision: 23114
* Fixed duplicated content in file in commit 23111Daniel Dickinson2010-09-231-24/+0
| | | | SVN-Revision: 23112
* Missed file committing previous change 23110Daniel Dickinson2010-09-231-0/+48
| | | | SVN-Revision: 23111
* base-files: localize variable in do_move_devtmpfs(), remove extra temporary ↵Jo-Philipp Wich2010-07-241-6/+3
| | | | | | variable and shorten conditional SVN-Revision: 22380
* package/base-files: add support for devtmpfs (thank you rauchwolke at gmx.net)Alexandros C. Couloumbis2010-07-241-1/+13
| | | | SVN-Revision: 22379
* base-files: unconditionally unlock the rootfs_data partition (#7437)Jo-Philipp Wich2010-07-241-0/+1
| | | | SVN-Revision: 22377
* base-files: make press key message more explicit in preinitJo-Philipp Wich2010-03-231-1/+1
| | | | SVN-Revision: 20392
* change from /jffs to /overlay, patch from Daniel DickinsonFlorian Fainelli2010-03-212-2/+4
| | | | SVN-Revision: 20356
* package/base-files: call preinit_ip_deconfig before processing init on ↵Gabor Juhos2010-03-121-0/+1
| | | | | | initramfs images SVN-Revision: 20159
* 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
* base-files: fix enter failsafe messageFelix Fietkau2010-03-011-1/+0
| | | | SVN-Revision: 19937
* base-files: preinit: get rid of /dev/null redirections and use grep -q where ↵Jo-Philipp Wich2010-02-014-6/+6
| | | | | | applicable SVN-Revision: 19478
* quieten the check for devs, thanks nbdFlorian Fainelli2010-01-311-1/+1
| | | | SVN-Revision: 19473
* /dev/null was used before it was created, so an empty file was created. This ↵Florian Fainelli2010-01-311-1/+1
| | | | | | prevented the actual device node from being created. The attached patch fixes that, patch from cshore SVN-Revision: 19472
* preinit: Remove Ctrl-C prompt...impossible on /dev/console (patch by cshore)Felix Fietkau2010-01-281-1/+1
| | | | SVN-Revision: 19367
* add preinit modularization work by Daniel Dickinson (cshore)Felix Fietkau2010-01-2525-0/+537
SVN-Revision: 19331