From cd8ee1eebcdead7f57a918f9899ef09b942a256d Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Thu, 24 Jan 2013 18:37:48 +0100 Subject: [PATCH] vsftpd: change boot messages So they are more similar to the rest of the bootscripts. Signed-off-by: Javier Viguera --- meta-digi-del/recipes-connectivity/vsftpd/files/init | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/meta-digi-del/recipes-connectivity/vsftpd/files/init b/meta-digi-del/recipes-connectivity/vsftpd/files/init index 0b035dbe8..6fa727822 100755 --- a/meta-digi-del/recipes-connectivity/vsftpd/files/init +++ b/meta-digi-del/recipes-connectivity/vsftpd/files/init @@ -10,7 +10,6 @@ # under the terms of the GNU General Public License version 2 as published by # the Free Software Foundation. # -# # !Description: vsftpd bootscript # #=============================================================================== @@ -29,22 +28,22 @@ pidfile="/var/run/vsftpd.pid" case "${1}" in start) - [ -z "${quietboot}" ] && echo -n "Starting vsftpd server: " + echo -n "Starting vsftpd server: " if [ -s "${pidfile}" ]; then pid="$(cat ${pidfile})" if kill -0 "${pid}" 2>/dev/null; then - [ -z "${quietboot}" ] && echo " already running." + echo " already running." exit 0 fi fi start-stop-daemon -S -b -m -p "${pidfile}" -x "${daemon}" - [ -z "${quietboot}" ] && echo "OK" + echo "done" ;; stop) echo -n "Stopping vsftpd server: " start-stop-daemon -K -q -p "${pidfile}" rm "${pidfile}" - echo "OK" + echo "done" ;; *) echo "Usage: $0 {start|stop}"