summaryrefslogtreecommitdiff
path: root/package/base-files
AgeCommit message (Collapse)Author
2013-09-17base-files: add a post start hook for procd managed servicesblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-31base-files: implement -l (--list-backup) sysupgrade parameter to list the ↵jow
files that would be backed up git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-31base-files: abort sysupgrade if file specified with --restore-config is not ↵jow
found git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-30base-files: implement -T (--test) sysupgrade parameter to verify image ↵jow
without actually flashing it git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-25base-files: be verbose when entering failsafe due to a button being pressedblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-20base-files: add mtd_get_part_size helperjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-17[package] base-files/busybox: move ntpd init script from base-files to busyboxluka
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-15base-files: reject invalid uci keys in network_get_device() and related ↵jow
procedures (#13886) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-14kernel/base-files: clean up old code related to refreshing mtd partitions, ↵nbd
it is no longer used anywhere Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-11procd: add a small script that handles config reloads until configd is readyblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-11base-files: convert sysntpd init script to procdblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-11base-files: run readlink on initscript name before opening servicesblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-11base-file: usbfs is no longer mounted under /proc/bus/usbblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-08base-files: add 2 missing variable definesblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-22package: fix insmod on installblogic
the procd changes broke the postinst insmod. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21base-files: module loading is now handled by ubox/kmodloaderblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21base-files: /etc/init.d/rcS is no longer needed, procd handles this for us nowblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21base-files: drop 2 pointless hotplug trigger stubsblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21base-files: procd is now the init processblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21base-files: procd init is now the default, remove files.oldblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17base-files: network.sh: extend network_get_ipaddr6() / network_get_subnet6() ↵jow
to take ipv6-prefix-assignment into account, add further helper functions to fetch all ips of a given interface git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-11base-files: remove unnecessary early sysctl-hackcyrus
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-11base-files: set default IPv6 forwarding value to 1cyrus
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10procd: make the preinit rules wildcard all buttons for failsafeblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10sysupgrade: create state file so procd knows when a sysupgrade is in progressblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10base-files: fix failsafe via button pressblogic
entering failsafe by pressing a button during boot was broken for procd as init Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36891 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10base-files: change PATH orderblogic
This allows packages to override busybox applets by placing the new binaries in /usr/{sbin,bin} Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-06base-files: use less entropy when generating ULAscyrus
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-06base-files: change network_find_wan() procedure to ignore default gateways ↵jow
in different routing tables git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-05sysupgrade: fixes broken pipe error during sysupgadeblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25preinit: move cmdline failsafe= handling ot the generic codeblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36430 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25mount_root: prepare base-filesblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25boot: make use of kmodloader if it is availableblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-22Change default IPv6 config to enable DHCPv6-PDcyrus
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09Adapt default network configuration for IPv6cyrus
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-27base-files: firstboot: only ask for confirmation on TTYjogo
Also allow '-y' to force the reset. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-26base-files: move sysctl init after bootjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-25base-files: fix bad start index in previous commitjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-25package/base-files: change sysctl handlingjow
Move /etc/init.d/sysctl to index 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-23base-files: also apply r36107 to files.oldflorian
Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-22base-files: sysupgrade fail with eglibcflorian
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14[base-files] sysupgrade was broken as procd was getting killedblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-13[base-files] make basefiles aware of procdblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21base-files: make firstboot ask for confirmationjogo
To prevent accidential resets ask for confirmation (and default to n). Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18base-files: introduce commonly used helper functions for setting ledsjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17base-files: minor cosmetic corrections for functions.shjuhosg
- 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16base-files: add macaddr_{add,2bin,setbit_la} helpersjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16base-files: add mtd_get_mac_{ascii,binary} helpersjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01base-files: Fix IPv6 early sysctls againcyrus
* Kernel IPv6 /proc interface inconsistency caused races git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29base-files: Fix race-conditions with IPv6 sysctlscyrus
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35368 3c298f89-4303-0410-b956-a3cf2f4a3e73