32 Commits (6a9a205f32a9edfa6bb6745b6698a3bd9f942b46)

Author SHA1 Message Date
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 16 years ago
Felix Fietkau 4dbaccf0cd base-files: allow default value for config_get 16 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 17 years ago
Felix Fietkau 8c453b693c functions.sh: add list_contains function for checking whether a list contains a specific element 17 years ago
Felix Fietkau 4d883da9bf functions.sh: add a function for removing an item from a list in a shell variable 17 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 18 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
Felix Fietkau 65b4654000 add support for static routes - based on the patch from #1365 18 years ago
Felix Fietkau 4215478ffe move config_get_bool from /sbin/wifi to /etc/functions.sh 18 years ago
Felix Fietkau 9405a2a6be Integrate basic UCI config file validation support Needs more testing and validation is not enforced yet 18 years ago
Felix Fietkau 1930885f90 fix a typo 18 years ago
Felix Fietkau 1d23349bea add a variable to keep track of the list of sections when loading uci config files. add a function to iterate through sections 18 years ago
Mike Baker 9cc85a562e fix sed error installing kmod ipkgs 18 years ago
Felix Fietkau 59a06c71cb rename default/ to files/ 18 years ago
Mike Baker e8c11142aa fix broken export from last commit 18 years ago
Mike Baker 5c3bf17fff avoid eval leaks 18 years ago
Felix Fietkau 398f36201b fix various variable copying bugs 18 years ago
Mike Baker faf1eba5be cleanup uci and functions.sh 18 years ago
Mike Baker 9232f4adad strtok helper function 18 years ago
Felix Fietkau 12ccb1ed73 reset CONFIG_SECTION when calling config_load 18 years ago
Felix Fietkau 4346855974 add lookup function for mtd parts 18 years ago
Felix Fietkau 343ad07ed8 remove an obsolete function 18 years ago