[FE training-materials-updates] Use service instead of invoking the init script directly

Maxime Ripard maxime.ripard at free-electrons.com
Tue Dec 17 17:03:46 CET 2013


Repository : git://git.free-electrons.com/training-materials.git

On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=69f48589c079a6ccbfdd6d630635bccd0e5bf4cf

>---------------------------------------------------------------

commit 69f48589c079a6ccbfdd6d630635bccd0e5bf4cf
Author: Maxime Ripard <maxime.ripard at free-electrons.com>
Date:   Tue Dec 17 15:58:12 2013 +0100

    Use service instead of invoking the init script directly
    
    Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>


>---------------------------------------------------------------

69f48589c079a6ccbfdd6d630635bccd0e5bf4cf
 labs/android-new-board/android-new-board.tex   |    2 +-
 labs/kernel-board-setup/kernel-board-setup.tex |    2 +-
 labs/sysdev-u-boot/sysdev-u-boot.tex           |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/labs/android-new-board/android-new-board.tex b/labs/android-new-board/android-new-board.tex
index 83767cb..34ebe87 100644
--- a/labs/android-new-board/android-new-board.tex
+++ b/labs/android-new-board/android-new-board.tex
@@ -215,7 +215,7 @@ if this command doesn't work, you may have to stop the server
 and start it again every time you boot your workstation:
 
 \begin{verbatim}
-/etc/init.d/tftpd-hpa restart
+sudo service tftpd-hpa restart
 \end{verbatim}
 
 The \code{tftp} command should have downloaded
diff --git a/labs/kernel-board-setup/kernel-board-setup.tex b/labs/kernel-board-setup/kernel-board-setup.tex
index ddf284b..2fbdfa1 100644
--- a/labs/kernel-board-setup/kernel-board-setup.tex
+++ b/labs/kernel-board-setup/kernel-board-setup.tex
@@ -199,7 +199,7 @@ doesn't work, you may have you have to stop the server and start it
 again every time you boot your workstation:
 
 \begin{verbatim}
-/etc/init.d/tftpd-hpa restart
+service tftpd-hpa restart
 \end{verbatim}
 
 The \code{tftp} command should have downloaded the
diff --git a/labs/sysdev-u-boot/sysdev-u-boot.tex b/labs/sysdev-u-boot/sysdev-u-boot.tex
index 19606d1..897a2df 100644
--- a/labs/sysdev-u-boot/sysdev-u-boot.tex
+++ b/labs/sysdev-u-boot/sysdev-u-boot.tex
@@ -427,7 +427,7 @@ if this command doesn't work, you may have to stop the server
 and start it again every time you boot your workstation:
 
 \begin{verbatim}
-/etc/init.d/tftpd-hpa restart
+service tftpd-hpa restart
 \end{verbatim}
 
 The \code{tftp} command should have downloaded



More information about the training-materials-updates mailing list