summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-12-20 15:29:33 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-12-20 15:29:33 +0000
commit9723930be303aa29fadf159a6e3a7b2299bae0e9 (patch)
tree25d12dfcbd49a3335460941847c690cac7c07638 /docs
parent65efd09b78ed7ae90bca732538c07af37eb00ce5 (diff)
downloadmaster-31e0f0ae-9723930be303aa29fadf159a6e3a7b2299bae0e9.tar.gz
master-31e0f0ae-9723930be303aa29fadf159a6e3a7b2299bae0e9.tar.bz2
master-31e0f0ae-9723930be303aa29fadf159a6e3a7b2299bae0e9.zip
docs: update remaining references to functions.sh
SVN-Revision: 34803
Diffstat (limited to 'docs')
-rw-r--r--docs/config.tex4
-rw-r--r--docs/network-scripts.tex2
2 files changed, 3 insertions, 3 deletions
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{<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() {
diff --git a/docs/network-scripts.tex b/docs/network-scripts.tex
index 4e713953a8..7ace9755ce 100644
--- a/docs/network-scripts.tex
+++ b/docs/network-scripts.tex
@@ -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}