docs: update remaining references to functions.sh
SVN-Revision: 34803
This commit is contained in:
parent
65efd09b78
commit
9723930be3
@ -23,7 +23,7 @@ To be able to load configuration files, you need to include the common
|
|||||||
functions with:
|
functions with:
|
||||||
|
|
||||||
\begin{Verbatim}
|
\begin{Verbatim}
|
||||||
. /etc/functions.sh
|
. /lib/functions.sh
|
||||||
\end{Verbatim}
|
\end{Verbatim}
|
||||||
|
|
||||||
Then you can use \texttt{config\_load \textit{<name>}} to load config files. The function
|
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
|
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}
|
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}
|
\begin{Verbatim}
|
||||||
config_cb() {
|
config_cb() {
|
||||||
|
@ -4,7 +4,7 @@ To be able to access the network functions, you need to include
|
|||||||
the necessary shell scripts by running:
|
the necessary shell scripts by running:
|
||||||
|
|
||||||
\begin{Verbatim}
|
\begin{Verbatim}
|
||||||
. /etc/functions.sh # common functions
|
. /lib/functions.sh # common functions
|
||||||
include /lib/network # include /lib/network/*.sh
|
include /lib/network # include /lib/network/*.sh
|
||||||
scan_interfaces # read and parse the network config
|
scan_interfaces # read and parse the network config
|
||||||
\end{Verbatim}
|
\end{Verbatim}
|
||||||
|
Loading…
Reference in New Issue
Block a user