X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=docs%2Fconfig.tex;h=08318b4b6cfb2468354a6e8f592bef9c1287137b;hp=17417c99a1c2574aeac1d57397ffeade81f7c04a;hb=9cd9402fefc5d69ec8117acb7d49083e03c77857;hpb=dd622e2557fa084e4d992e9b7da1315910a45136 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() {