X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=docs%2Fconfig.tex;h=08318b4b6cfb2468354a6e8f592bef9c1287137b;hp=17417c99a1c2574aeac1d57397ffeade81f7c04a;hb=1e0f650d7d550992296fa61ef94d4abbd5da9555;hpb=b20b8d15237a8b8caffab003f33cfe8872b50c24 diff --git a/docs/config.tex b/docs/config.tex index 17417c99a1..08318b4b6c 100644 --- a/docs/config.tex +++ b/docs/config.tex @@ -23,7 +23,7 @@ To be able to load configuration files, you need to include the common functions with: \begin{Verbatim} -. /etc/functions.sh +. /lib/functions.sh \end{Verbatim} Then you can use \texttt{config\_load \textit{}} to load config files. The function @@ -32,7 +32,7 @@ it from \texttt{/etc/config} (which is the most common way of using it). If you want to use special callbacks for sections and/or options, you need to define the following shell functions before running \texttt{config\_load} -(after including \texttt{/etc/functions.sh}): +(after including \texttt{/lib/functions.sh}): \begin{Verbatim} config_cb() {