docs: update remaining references to functions.sh
authorFelix Fietkau <nbd@openwrt.org>
Thu, 20 Dec 2012 15:29:33 +0000 (15:29 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 20 Dec 2012 15:29:33 +0000 (15:29 +0000)
SVN-Revision: 34803

docs/config.tex
docs/network-scripts.tex

index 17417c99a1c2574aeac1d57397ffeade81f7c04a..08318b4b6cfb2468354a6e8f592bef9c1287137b 100644 (file)
@@ -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() {
index 4e713953a8fa2bf88d7f01fc0ee67158b4b66d76..7ace9755cec804957ecb1475a944454043856470 100644 (file)
@@ -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}