Skip to content

Commit

Permalink
docs: update remaining references to functions.sh
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34803 3c298f89-4303-0410-b956-a3cf2f4a3e73
  • Loading branch information
nbd committed Dec 20, 2012
1 parent f1b689a commit 51e194d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/config.tex
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ \subsubsection{Parsing configuration files in custom scripts}
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
Expand All @@ -32,7 +32,7 @@ \subsubsection{Parsing configuration files in custom scripts}

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() {
Expand Down
2 changes: 1 addition & 1 deletion docs/network-scripts.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ \subsubsection{Using the network scripts}
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}
Expand Down

0 comments on commit 51e194d

Please sign in to comment.