21 Commits (9e65c50f4c456259117504f70db3362aee52b37d)

Author SHA1 Message Date
John Crispin 43a3d87b83 package: fix insmod on install 11 years ago
John Crispin 4c43cacce0 base-files: module loading is now handled by ubox/kmodloader 11 years ago
Gabor Juhos c4f14fab9b base-files: minor cosmetic corrections for functions.sh 12 years ago
Gabor Juhos 5a8c63b47e base-files: add macaddr_{add,2bin,setbit_la} helpers 12 years ago
Gabor Juhos 70d40b2ddd base-files: add mtd_get_mac_{ascii,binary} helpers 12 years ago
Steven Barth f657787b52 base-files: Fix a typo in config_list_foreach 12 years ago
Mirko Vogt 4d4b2d3ced merge /lib/functions/boot.sh and /lib/functions.sh 12 years ago
Mirko Vogt 439a869090 Do not overload mount-call - trying to reduce confusion 12 years ago
Gabor Juhos 1552af3131 base-files: add mtd_find_chardev helper 12 years ago
Mirko Vogt ee17703371 Revert "remove function find_mtd_part() from /lib/functions.sh" 12 years ago
Mirko Vogt 1521cdda0f remove function find_mtd_part() from /lib/functions.sh 12 years ago
Jo-Philipp Wich a044a43d06 base-files: make user_add() populate the shadow db as well 13 years ago
Felix Fietkau 3678ba60ca base-files: rename internal variables in config_foreach to make namespace conflicts more unlikely 13 years ago
Felix Fietkau 6f46704743 base-files: split service related functions off to /lib/functions/service.sh 13 years ago
Gabor Juhos 8ae051799a base-files: remove trailing whitespaces from lib/functions.sh 13 years ago
Nicolas Thill b49aed1520 package/base-files: enhance service functions 13 years ago
Nicolas Thill f371d516bf package/base-files: /lib/functions.sh: add {group,user}_{add,exists} functions 13 years ago
Nicolas Thill 62a2827ea7 package/base-files: /lib/functions.sh: let service_stop exit early if no matching process to stop where found 13 years ago
Nicolas Thill b7b56df707 package/base-files: enhance & cleanup service wrappers 13 years ago
Nicolas Thill d0659ce37e package/base-files: move service* functions from /etc/rc.common to /lib/functions.sh 13 years ago
Nicolas Thill b6aef59ea8 package/base-files: move /etc/functions.sh to /lib/functions.sh 13 years ago
Daniel Dickinson d5542b4f59 block-mount base-files: Added additional check to pi_include to ensure that a directory used with pi_include actually contains files matching the souring pattern because if not the shell dies due to an empty string in for statement. Added /lib/functions/fsck as an empty dir to block-mount. This combination fixes a warning which generates a lot of bug reports, without panicking the kernel like the last attempt. 14 years ago
Daniel Dickinson 18b473ca9b base/block-extroot, base/block-mount: Modified preinit and block-extroot and block-mount so that use of block-mount and block-extroot do not require that block-extroot, block-mount, nor the kernel modules they depend, on are required to included in the image. That is block-extroot and dependencies may now be installed as modules onto the jffs2 part of a squashfs system and it will work. In addition packages which are installed into the jffs2 of a squashfs system may now affect preinit, so long as they do not require execution of commands that occur before the merging of the jffs2 and built-in (squashfs) preinit scripts is done. 14 years ago
Jo-Philipp Wich 4815de3f26 base-files: introduce service_kill() into functions.sh - a convenience wrapper for killing services by pid or pidfile with a grace period for termination before kill 14 years ago
Jo-Philipp Wich 63991ba875 base-files, uci: properly revert list state on config_load This fixes a bug where lists end up with duplicate values if config_load was invoked multiple times. 14 years ago
Felix Fietkau 91a8f2334a add missing argument to debug/mount wrappers (thx, matteo) 15 years ago
Felix Fietkau 889532d1fd do not start multiple subshells for applying /etc/uci-defaults. use sh -x for hush compatibility 15 years ago
Felix Fietkau f1649982e2 functions.sh: use functions instead of aliases for the debug, mount wrappers - hush does not have aliases 15 years ago
Felix Fietkau 387b221aa1 base-files: port functions.sh to new config_get 15 years ago
Felix Fietkau 4dbaccf0cd base-files: allow default value for config_get 15 years ago
Florian Fainelli 1673462564 Use busybox mount, could be overriden to use util-linux-ng for instance, thanks sn9 16 years ago
Felix Fietkau 8a08f95e42 upgrade to uci 0.5.0, adds list handling support 16 years ago
Felix Fietkau 6a4edcadc1 fix config_clear(), see #3054 16 years ago
Felix Fietkau 8c453b693c functions.sh: add list_contains function for checking whether a list contains a specific element 16 years ago
Felix Fietkau 4d883da9bf functions.sh: add a function for removing an item from a list in a shell variable 16 years ago
Felix Fietkau 49080689d9 add an extra safety check 17 years ago
Felix Fietkau 0cf1a58282 Here comes the new UCI. Enjoy :) 17 years ago
Felix Fietkau 3b2e07b84f add uci_set_default (to be used in init scripts or /etc/uci-defaults) 17 years ago
Felix Fietkau 8977c6c20a drop the '0' default in config_get_bool 17 years ago
Felix Fietkau 6b882b579f support true and false in config_get_bool 17 years ago
Felix Fietkau 6330c58b58 add patch from #2111 17 years ago
Mike Baker 57da2d5713 move uci_load into config_load so that changes can be applied via uci without commiting 18 years ago
Felix Fietkau 5e6f8739be some shell variable handling fixes 18 years ago
Felix Fietkau 796e53414f allow config_* and uci_* functions to work on files outside of /etc/config - these files are assumed to use commands generated by uci_* only (as overlay to regular config files) 18 years ago
Florian Fainelli 5b78b9a5e7 Check for modules.d existence before loading modules 18 years ago
Felix Fietkau 45c01cae72 add jffs2_mark_erase function for erasing jffs2 partitions on the next mount (typically faster than doing mtd erase manually) 18 years ago
Felix Fietkau 30dfff4849 allow scripts to disable config callbacks 18 years ago
Felix Fietkau 7f0dd3fa45 rename uci-update.awk to uci.awk and add a few config_* functions 18 years ago
Felix Fietkau a44c286fdb nuke mdev and replace it with hotplug2 :) 18 years ago
Felix Fietkau 0ddaeaf38b make find_mtd_part work without devfs 18 years ago