Commit Graph

32 Commits (275f0556a8964004985e03031c4f9acb66920a06)

Author SHA1 Message Date
Felix Fietkau 91a8f2334a add missing argument to debug/mount wrappers (thx, matteo)
SVN-Revision: 18718
2009-12-09 17:13:16 +00:00
Felix Fietkau 889532d1fd do not start multiple subshells for applying /etc/uci-defaults. use sh -x for hush compatibility
SVN-Revision: 18717
2009-12-09 15:15:25 +00:00
Felix Fietkau f1649982e2 functions.sh: use functions instead of aliases for the debug, mount wrappers - hush does not have aliases
SVN-Revision: 18715
2009-12-09 13:36:43 +00:00
Felix Fietkau 387b221aa1 base-files: port functions.sh to new config_get
Signed-off-by: Malte S. Stretz <mss@apache.org>

SVN-Revision: 17156
2009-08-07 00:07:46 +00:00
Felix Fietkau 4dbaccf0cd base-files: allow default value for config_get
Signed-off-by: Malte S. Stretz <mss@apache.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 17155
2009-08-07 00:07:42 +00:00
Florian Fainelli 1673462564 Use busybox mount, could be overriden to use util-linux-ng for instance, thanks sn9
SVN-Revision: 12386
2008-08-25 05:21:42 +00:00
Felix Fietkau 8a08f95e42 upgrade to uci 0.5.0, adds list handling support
SVN-Revision: 12353
2008-08-20 15:38:51 +00:00
Felix Fietkau 6a4edcadc1 fix config_clear(), see #3054
SVN-Revision: 12036
2008-07-31 03:04:32 +00:00
Felix Fietkau 8c453b693c functions.sh: add list_contains function for checking whether a list contains a specific element
SVN-Revision: 12025
2008-07-30 22:39:43 +00:00
Felix Fietkau 4d883da9bf functions.sh: add a function for removing an item from a list in a shell variable
SVN-Revision: 12024
2008-07-30 20:35:22 +00:00
Felix Fietkau 49080689d9 add an extra safety check
SVN-Revision: 10389
2008-02-05 01:47:47 +00:00
Felix Fietkau 0cf1a58282 Here comes the new UCI. Enjoy :)
SVN-Revision: 10367
2008-02-03 06:48:15 +00:00
Felix Fietkau 3b2e07b84f add uci_set_default (to be used in init scripts or /etc/uci-defaults)
SVN-Revision: 10086
2008-01-02 17:10:16 +00:00
Felix Fietkau 8977c6c20a drop the '0' default in config_get_bool
SVN-Revision: 9618
2007-11-28 19:02:46 +00:00
Felix Fietkau 6b882b579f support true and false in config_get_bool
SVN-Revision: 8840
2007-09-19 14:43:29 +00:00
Felix Fietkau 6330c58b58 add patch from #2111
SVN-Revision: 8106
2007-07-22 16:55:31 +00:00
Mike Baker 57da2d5713 move uci_load into config_load so that changes can be applied via uci without commiting
SVN-Revision: 7927
2007-07-11 20:39:28 +00:00
Felix Fietkau 5e6f8739be some shell variable handling fixes
SVN-Revision: 7638
2007-06-15 15:59:56 +00:00
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
2007-06-15 15:12:57 +00:00
Florian Fainelli 5b78b9a5e7 Check for modules.d existence before loading modules
SVN-Revision: 7423
2007-05-31 15:58:43 +00:00
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
2007-04-16 23:29:44 +00:00
Felix Fietkau 30dfff4849 allow scripts to disable config callbacks
SVN-Revision: 6934
2007-04-11 19:34:20 +00:00
Felix Fietkau 7f0dd3fa45 rename uci-update.awk to uci.awk and add a few config_* functions
SVN-Revision: 6666
2007-03-24 13:43:04 +00:00
Felix Fietkau a44c286fdb nuke mdev and replace it with hotplug2 :)
SVN-Revision: 6512
2007-03-04 20:31:53 +00:00
Felix Fietkau 0ddaeaf38b make find_mtd_part work without devfs
SVN-Revision: 6466
2007-03-02 19:01:49 +00:00
Felix Fietkau 65b4654000 add support for static routes - based on the patch from #1365
SVN-Revision: 6457
2007-03-02 15:48:29 +00:00
Felix Fietkau 4215478ffe move config_get_bool from /sbin/wifi to /etc/functions.sh
SVN-Revision: 6407
2007-02-27 23:09:57 +00:00
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
2007-02-26 20:04:04 +00:00
Felix Fietkau 1930885f90 fix a typo
SVN-Revision: 6228
2007-01-29 22:07:17 +00:00
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
2006-12-20 04:15:13 +00:00
Mike Baker 9cc85a562e fix sed error installing kmod ipkgs
SVN-Revision: 5629
2006-11-23 18:22:06 +00:00
Felix Fietkau 59a06c71cb rename default/ to files/
SVN-Revision: 5622
2006-11-22 23:30:57 +00:00