summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/functions.sh
Commit message (Collapse)AuthorAgeFilesLines
* fix config_clear(), see #3054nbd2008-07-311-2/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12036 3c298f89-4303-0410-b956-a3cf2f4a3e73
* functions.sh: add list_contains function for checking whether a list ↵nbd2008-07-301-0/+9
| | | | | | contains a specific element git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12025 3c298f89-4303-0410-b956-a3cf2f4a3e73
* functions.sh: add a function for removing an item from a list in a shell ↵nbd2008-07-301-0/+14
| | | | | | variable git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12024 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add an extra safety checknbd2008-02-051-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10389 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Here comes the new UCI. Enjoy :)nbd2008-02-031-36/+22
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add uci_set_default (to be used in init scripts or /etc/uci-defaults)nbd2008-01-021-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10086 3c298f89-4303-0410-b956-a3cf2f4a3e73
* drop the '0' default in config_get_boolnbd2007-11-281-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9618 3c298f89-4303-0410-b956-a3cf2f4a3e73
* support true and false in config_get_boolnbd2007-09-191-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8840 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add patch from #2111nbd2007-07-221-2/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8106 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move uci_load into config_load so that changes can be applied via uci ↵mbm2007-07-111-8/+21
| | | | | | without commiting git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7927 3c298f89-4303-0410-b956-a3cf2f4a3e73
* some shell variable handling fixesnbd2007-06-151-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7638 3c298f89-4303-0410-b956-a3cf2f4a3e73
* allow config_* and uci_* functions to work on files outside of /etc/config - ↵nbd2007-06-151-1/+5
| | | | | | these files are assumed to use commands generated by uci_* only (as overlay to regular config files) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7636 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Check for modules.d existence before loading modulesflorian2007-05-311-2/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7423 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add jffs2_mark_erase function for erasing jffs2 partitions on the next mount ↵nbd2007-04-161-0/+10
| | | | | | (typically faster than doing mtd erase manually) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6978 3c298f89-4303-0410-b956-a3cf2f4a3e73
* allow scripts to disable config callbacksnbd2007-04-111-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6934 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rename uci-update.awk to uci.awk and add a few config_* functionsnbd2007-03-241-1/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6666 3c298f89-4303-0410-b956-a3cf2f4a3e73
* nuke mdev and replace it with hotplug2 :)nbd2007-03-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6512 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make find_mtd_part work without devfsnbd2007-03-021-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6466 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add support for static routes - based on the patch from #1365nbd2007-03-021-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6457 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move config_get_bool from /sbin/wifi to /etc/functions.shnbd2007-02-271-0/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6407 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Integrate basic UCI config file validation supportnbd2007-02-261-18/+19
| | | | | | | | | Needs more testing and validation is not enforced yet Code contributed by Fraunhofer Fokus git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6391 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix a typonbd2007-01-291-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6228 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a variable to keep track of the list of sections when loading uci config ↵nbd2006-12-201-4/+21
| | | | | | files. add a function to iterate through sections git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5870 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix sed error installing kmod ipkgsmbm2006-11-231-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5629 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rename default/ to files/nbd2006-11-221-0/+149
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5622 3c298f89-4303-0410-b956-a3cf2f4a3e73