Skip to content
Snippets Groups Projects
Commit 51e194d6 authored by nbd's avatar nbd
Browse files

docs: update remaining references to functions.sh

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34803 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent f1b689a9
No related branches found
No related tags found
No related merge requests found
......@@ -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{<name>}} 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() {
......
......@@ -4,7 +4,7 @@ To be able to access the network functions, you need to include
the necessary shell scripts by running:
\begin{Verbatim}
. /etc/functions.sh # common functions
. /lib/functions.sh # common functions
include /lib/network # include /lib/network/*.sh
scan_interfaces # read and parse the network config
\end{Verbatim}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment