X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=blobdiff_plain;f=docs%2Finit-scripts.tex;h=ea74ded7c068b005638460269e409dbc7af81c24;hp=e1d96a249119ead9ee9cc9e024eab20ac339ab05;hb=324d6bc6aae046fdf319a43ef93cc9474a9961b5;hpb=a7cb17cea9375f522cb87b2d53808e1cfaa713c1 diff --git a/docs/init-scripts.tex b/docs/init-scripts.tex index e1d96a249..ea74ded7c 100644 --- a/docs/init-scripts.tex +++ b/docs/init-scripts.tex @@ -24,8 +24,8 @@ This is done by the wrapper script \texttt{/etc/rc.common}. script should provide. \texttt{start()} is called when the user runs \texttt{/etc/init.d/httpd start} or (if the script is enabled and does not override this behavior) at system boot time. -Enabling and disabling init scripts is done by running \texttt{/etc/init.d/\textit{name} start} -or \texttt{/etc/init.d/\textit{name} stop}. This creates or removes symbolic links to the +Enabling and disabling init scripts is done by running \texttt{/etc/init.d/\textit{name} enable} +or \texttt{/etc/init.d/\textit{name} disable}. This creates or removes symbolic links to the init script in \texttt{/etc/rc.d}, which is processed by \texttt{/etc/init.d/rcS} at boot time. The order in which these scripts are run is defined in the variable \texttt{START} in the init