X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=docs%2Fnetwork-scripts.tex;h=7ace9755cec804957ecb1475a944454043856470;hb=7596c6fbe503992d144d2a2459d33e4bd3600165;hp=4903358c25ce706be0032919bd99824b4a4a8639;hpb=d9219238b05cc37112dd11427581e1aa6b502b33;p=openwrt.git diff --git a/docs/network-scripts.tex b/docs/network-scripts.tex index 4903358c25..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} @@ -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_() {