aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
Commit message (Collapse)AuthorAgeFilesLines
* base-files: add mtd_get_part_size helperGabor Juhos2013-07-202-1/+13
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37475
* base-files/busybox: move ntpd init script from base-files to busyboxLuka Perkov2013-07-172-32/+1
| | | | SVN-Revision: 37383
* base-files: reject invalid uci keys in network_get_device() and related ↵Jo-Philipp Wich2013-07-151-0/+4
| | | | | | procedures (#13886) SVN-Revision: 37345
* kernel/base-files: clean up old code related to refreshing mtd partitions, ↵Felix Fietkau2013-07-141-18/+5
| | | | | | | | it is no longer used anywhere Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37282
* procd: add a small script that handles config reloads until configd is readyJohn Crispin2013-07-112-0/+8
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37248
* base-files: convert sysntpd init script to procdJohn Crispin2013-07-111-17/+11
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37244
* base-files: run readlink on initscript name before opening servicesJohn Crispin2013-07-111-3/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37241
* base-file: usbfs is no longer mounted under /proc/bus/usbJohn Crispin2013-07-111-9/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37240
* base-files: add 2 missing variable definesJohn Crispin2013-07-081-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37204
* package: fix insmod on installJohn Crispin2013-06-221-0/+7
| | | | | | | | the procd changes broke the postinst insmod. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37015
* base-files: module loading is now handled by ubox/kmodloaderJohn Crispin2013-06-212-12/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37003
* base-files: /etc/init.d/rcS is no longer needed, procd handles this for us nowJohn Crispin2013-06-211-9/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37002
* base-files: drop 2 pointless hotplug trigger stubsJohn Crispin2013-06-212-26/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37001
* base-files: procd is now the init processJohn Crispin2013-06-211-7/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36998
* base-files: procd init is now the default, remove files.oldJohn Crispin2013-06-2150-1349/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36996
* base-files: network.sh: extend network_get_ipaddr6() / network_get_subnet6() ↵Jo-Philipp Wich2013-06-171-43/+107
| | | | | | to take ipv6-prefix-assignment into account, add further helper functions to fetch all ips of a given interface SVN-Revision: 36942
* base-files: remove unnecessary early sysctl-hackSteven Barth2013-06-112-8/+1
| | | | SVN-Revision: 36920
* base-files: set default IPv6 forwarding value to 1Steven Barth2013-06-112-3/+3
| | | | SVN-Revision: 36918
* 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
* sysupgrade: create state file so procd knows when a sysupgrade is in progressJohn Crispin2013-06-101-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36893
* 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
* base-files: change PATH orderJohn Crispin2013-06-101-1/+1
| | | | | | | | | This allows packages to override busybox applets by placing the new binaries in /usr/{sbin,bin} Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36890
* base-files: use less entropy when generating ULAsSteven Barth2013-06-062-8/+5
| | | | SVN-Revision: 36865
* base-files: change network_find_wan() procedure to ignore default gateways ↵Jo-Philipp Wich2013-05-062-11/+15
| | | | | | in different routing tables SVN-Revision: 36553
* sysupgrade: fixes broken pipe error during sysupgadeJohn Crispin2013-05-051-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36548
* 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-2533-71/+80
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36429
* boot: make use of kmodloader if it is availableJohn Crispin2013-04-251-1/+5
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36428
* Change default IPv6 config to enable DHCPv6-PDSteven Barth2013-04-222-2/+2
| | | | SVN-Revision: 36384
* Adapt default network configuration for IPv6Steven Barth2013-04-092-0/+14
| | | | SVN-Revision: 36278
* base-files: firstboot: only ask for confirmation on TTYJonas Gorski2013-03-271-4/+6
| | | | | | Also allow '-y' to force the reset. SVN-Revision: 36133
* base-files: move sysctl init after bootJo-Philipp Wich2013-03-261-1/+1
| | | | SVN-Revision: 36131
* base-files: fix bad start index in previous commitJo-Philipp Wich2013-03-251-1/+1
| | | | SVN-Revision: 36130
* package/base-files: change sysctl handling Move /etc/init.d/sysctl to index ↵Jo-Philipp Wich2013-03-253-2/+8
| | | | | | 00 and add hotplug script that applies interface specific sysctls for interfaces that only appear later - this allows to reliably configure per-interface parameters in sysctl.conf, e.g. to disable ipv6 autoconfig on a specific iface. SVN-Revision: 36129
* base-files: also apply r36107 to files.oldFlorian Fainelli2013-03-232-3/+3
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36112
* base-files: sysupgrade fail with eglibcFlorian Fainelli2013-03-222-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | With eglibc, "ldd busybox" give us libcrypt.so.1 => /lib/libcrypt.so.1 (0x774be000) libm.so.6 => /lib/libm.so.6 (0x773e4000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x773c0000) libc.so.6 => /lib/libc.so.6 (0x77276000) /lib/ld.so.1 (0x774fe000) Thus /lib/ld.so.1 is not printed by the libs fonction and isn't copied to the 'new' root before pivot root libs() { ldd $* | awk '{print $3}'; } https://dev.openwrt.org/browser/trunk/package/base-files/files/lib/upgrade/common.sh With uclibc the last line of "ldd busybox" is ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x77ada000) Don't know for musl! This patch replace https://dev.openwrt.org/changeset/19167, as glibc is gone The other way around is to rework libs() Please apply the fix (mine or another) on trunk and AA Might fix https://dev.openwrt.org/ticket/12273 Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36107
* sysupgrade was broken as procd was getting killedJohn Crispin2013-03-141-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36031
* make basefiles aware of procdJohn Crispin2013-03-1338-70/+705
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36003
* base-files: make firstboot ask for confirmationJonas Gorski2013-02-211-8/+16
| | | | | | | | To prevent accidential resets ask for confirmation (and default to n). Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 35712
* base-files: introduce commonly used helper functions for setting ledsGabor Juhos2013-02-182-1/+69
| | | | | | | | | | | | | | | | | | Currently, most platforms define such helpers in their own diag.sh implementation with almost identical code. By factoring out the common ground it's possible to simplify maintainability and homogenize the haptics over multiple platforms (so far as is reasonably practicable, in a next step). [juhosg: - fix led_set_attr parameters in led_timer - add led_morse and status_led_set_morse helpers - add status_led_blink_{preinit,failsafe} helpers] Signed-off-by: Michael Heimpold <mhei@heimpold.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35648
* base-files: minor cosmetic corrections for functions.shGabor Juhos2013-02-171-6/+3
| | | | | | | | | | | | | - update copyright header - remove superfluous shebang left-over from changeset 34794 - unify function declaration [juhosg: keep Vertical Communications' copyright notice] Signed-off-by: Michael Heimpold <mhei@heimpold.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35646
* base-files: add macaddr_{add,2bin,setbit_la} helpersGabor Juhos2013-02-162-1/+25
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35614
* base-files: add mtd_get_mac_{ascii,binary} helpersGabor Juhos2013-02-162-1/+35
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35612
* base-files: Fix IPv6 early sysctls again * Kernel IPv6 /proc interface ↵Steven Barth2013-02-013-6/+7
| | | | | | inconsistency caused races SVN-Revision: 35417
* base-files: Fix race-conditions with IPv6 sysctlsSteven Barth2013-01-294-2/+9
| | | | SVN-Revision: 35368
* base-files: remove IPv6-forwarding setting for all interfacesSteven Barth2013-01-282-2/+1
| | | | SVN-Revision: 35344
* base-files: fix network_get_prefix6Steven Barth2013-01-222-2/+2
| | | | SVN-Revision: 35300
* base-files: Set default value for IPv6 forwardingSteven Barth2013-01-222-1/+2
| | | | SVN-Revision: 35299
* base-files: network.sh: fix typo in previous commitJo-Philipp Wich2013-01-211-1/+1
| | | | SVN-Revision: 35287
* base-files: network.sh: simplify network_get_prefix6()Jo-Philipp Wich2013-01-211-7/+4
| | | | SVN-Revision: 35286