gianfar: Fix reported number of sent bytes to BQL
[openwrt.git] / docs / network-scripts.tex
index 4903358..7ace975 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}
@@ -33,8 +33,9 @@ After running \texttt{scan\_interfaces}, the following functions are available:
 
 \subsubsection{Writing protocol handlers}
 
-You can add custom protocol handlers by adding shell scripts to
-\texttt{/lib/network}. They provide the following two shell functions:
+You can add custom protocol handlers (e.g: PPPoE, PPPoA, ATM, PPTP ...)
+by adding shell scripts to \texttt{/lib/network}. They provide the following
+two shell functions:
 
 \begin{Verbatim}
 scan_<protocolname>() {