summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/functions.sh
AgeCommit message (Collapse)Author
2009-12-09add missing argument to debug/mount wrappers (thx, matteo)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09do not start multiple subshells for applying /etc/uci-defaults. use sh -x ↵nbd
for hush compatibility git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09functions.sh: use functions instead of aliases for the debug, mount wrappers ↵nbd
- hush does not have aliases git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-07base-files: port functions.sh to new config_getnbd
Signed-off-by: Malte S. Stretz <mss@apache.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-07base-files: allow default value for config_getnbd
Signed-off-by: Malte S. Stretz <mss@apache.org> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-25Use busybox mount, could be overriden to use util-linux-ng for instance, ↵florian
thanks sn9 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-20upgrade to uci 0.5.0, adds list handling supportnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31fix config_clear(), see #3054nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30functions.sh: add list_contains function for checking whether a list ↵nbd
contains a specific element git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30functions.sh: add a function for removing an item from a list in a shell ↵nbd
variable git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-05add an extra safety checknbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-03Here comes the new UCI. Enjoy :)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-02add uci_set_default (to be used in init scripts or /etc/uci-defaults)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-28drop the '0' default in config_get_boolnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-19support true and false in config_get_boolnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-22add patch from #2111nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-11move uci_load into config_load so that changes can be applied via uci ↵mbm
without commiting git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-15some shell variable handling fixesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-15allow config_* and uci_* functions to work on files outside of /etc/config - ↵nbd
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
2007-05-31Check for modules.d existence before loading modulesflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-16add jffs2_mark_erase function for erasing jffs2 partitions on the next mount ↵nbd
(typically faster than doing mtd erase manually) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-11allow scripts to disable config callbacksnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24rename uci-update.awk to uci.awk and add a few config_* functionsnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04nuke mdev and replace it with hotplug2 :)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02make find_mtd_part work without devfsnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02add support for static routes - based on the patch from #1365nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-27move config_get_bool from /sbin/wifi to /etc/functions.shnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-26Integrate basic UCI config file validation supportnbd
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
2007-01-29fix a typonbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-20add a variable to keep track of the list of sections when loading uci config ↵nbd
files. add a function to iterate through sections git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-23fix sed error installing kmod ipkgsmbm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-22rename default/ to files/nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5622 3c298f89-4303-0410-b956-a3cf2f4a3e73