Commit Graph

22 Commits (779e43e18d995d7b5cd042e924af6d816bff4722)

Author SHA1 Message Date
Felix Fietkau 49080689d9 add an extra safety check
SVN-Revision: 10389
17 years ago
Felix Fietkau 0cf1a58282 Here comes the new UCI. Enjoy :)
SVN-Revision: 10367
17 years ago
Felix Fietkau 3b2e07b84f add uci_set_default (to be used in init scripts or /etc/uci-defaults)
SVN-Revision: 10086
17 years ago
Felix Fietkau 8977c6c20a drop the '0' default in config_get_bool
SVN-Revision: 9618
17 years ago
Felix Fietkau 6b882b579f support true and false in config_get_bool
SVN-Revision: 8840
17 years ago
Felix Fietkau 6330c58b58 add patch from #2111
SVN-Revision: 8106
17 years ago
Mike Baker 57da2d5713 move uci_load into config_load so that changes can be applied via uci without commiting
SVN-Revision: 7927
17 years ago
Felix Fietkau 5e6f8739be some shell variable handling fixes
SVN-Revision: 7638
17 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)
SVN-Revision: 7636
17 years ago
Florian Fainelli 5b78b9a5e7 Check for modules.d existence before loading modules
SVN-Revision: 7423
17 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)
SVN-Revision: 6978
17 years ago
Felix Fietkau 30dfff4849 allow scripts to disable config callbacks
SVN-Revision: 6934
17 years ago
Felix Fietkau 7f0dd3fa45 rename uci-update.awk to uci.awk and add a few config_* functions
SVN-Revision: 6666
18 years ago
Felix Fietkau a44c286fdb nuke mdev and replace it with hotplug2 :)
SVN-Revision: 6512
18 years ago
Felix Fietkau 0ddaeaf38b make find_mtd_part work without devfs
SVN-Revision: 6466
18 years ago
Felix Fietkau 65b4654000 add support for static routes - based on the patch from #1365
SVN-Revision: 6457
18 years ago
Felix Fietkau 4215478ffe move config_get_bool from /sbin/wifi to /etc/functions.sh
SVN-Revision: 6407
18 years ago
Felix Fietkau 9405a2a6be Integrate basic UCI config file validation support Needs more testing and validation is not enforced yet
Code contributed by Fraunhofer Fokus

SVN-Revision: 6391
18 years ago
Felix Fietkau 1930885f90 fix a typo
SVN-Revision: 6228
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
SVN-Revision: 5870
18 years ago
Mike Baker 9cc85a562e fix sed error installing kmod ipkgs
SVN-Revision: 5629
18 years ago
Felix Fietkau 59a06c71cb rename default/ to files/
SVN-Revision: 5622
18 years ago