Felix Fietkau
|
387b221aa1
|
base-files: port functions.sh to new config_get
Signed-off-by: Malte S. Stretz <mss@apache.org>
SVN-Revision: 17156
|
15 years ago |
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
|
15 years ago |
Florian Fainelli
|
1673462564
|
Use busybox mount, could be overriden to use util-linux-ng for instance, thanks sn9
SVN-Revision: 12386
|
16 years ago |
Felix Fietkau
|
8a08f95e42
|
upgrade to uci 0.5.0, adds list handling support
SVN-Revision: 12353
|
16 years ago |
Felix Fietkau
|
6a4edcadc1
|
fix config_clear(), see #3054
SVN-Revision: 12036
|
17 years ago |
Felix Fietkau
|
8c453b693c
|
functions.sh: add list_contains function for checking whether a list contains a specific element
SVN-Revision: 12025
|
17 years ago |
Felix Fietkau
|
4d883da9bf
|
functions.sh: add a function for removing an item from a list in a shell variable
SVN-Revision: 12024
|
17 years ago |
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
|
18 years ago |
Mike Baker
|
57da2d5713
|
move uci_load into config_load so that changes can be applied via uci without commiting
SVN-Revision: 7927
|
18 years ago |
Felix Fietkau
|
5e6f8739be
|
some shell variable handling fixes
SVN-Revision: 7638
|
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)
SVN-Revision: 7636
|
18 years ago |
Florian Fainelli
|
5b78b9a5e7
|
Check for modules.d existence before loading modules
SVN-Revision: 7423
|
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)
SVN-Revision: 6978
|
18 years ago |
Felix Fietkau
|
30dfff4849
|
allow scripts to disable config callbacks
SVN-Revision: 6934
|
18 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 |
Mike Baker
|
e8c11142aa
|
fix broken export from last commit
SVN-Revision: 5618
|
18 years ago |
Mike Baker
|
5c3bf17fff
|
avoid eval leaks
SVN-Revision: 5617
|
18 years ago |
Felix Fietkau
|
398f36201b
|
fix various variable copying bugs
SVN-Revision: 5613
|
18 years ago |
Mike Baker
|
faf1eba5be
|
cleanup uci and functions.sh
SVN-Revision: 5597
|
18 years ago |
Mike Baker
|
9232f4adad
|
strtok helper function
SVN-Revision: 5592
|
18 years ago |
Felix Fietkau
|
12ccb1ed73
|
reset CONFIG_SECTION when calling config_load
SVN-Revision: 5318
|
18 years ago |
Felix Fietkau
|
4346855974
|
add lookup function for mtd parts
SVN-Revision: 5299
|
18 years ago |
Felix Fietkau
|
343ad07ed8
|
remove an obsolete function
SVN-Revision: 5280
|
18 years ago |