Ver Fonte

Fix init script for swupdate§

Signed-off-by: Stefano Babic <sbabic@denx.de>
Stefano Babic há 11 anos atrás
pai
commit
2e15160784
1 ficheiros alterados com 1 adições e 2 exclusões
  1. 1 2
      recipes-support/swupdate/swupdate/swupdate

+ 1 - 2
recipes-support/swupdate/swupdate/swupdate

@@ -31,7 +31,6 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
 DESC="swupdate"
 NAME="swupdate"
 DAEMON=/usr/bin/swupdate
-DAEMON_ARGS="-w '-document_root /www'"
 PIDFILE=/var/run/$NAME.pid
 
 . /etc/init.d/functions || exit 1
@@ -58,7 +57,7 @@ do_start() {
 	*)
 		echo "Starting $DESC ..."
 		cd /home/root
-		exec $DAEMON $DAEMON_ARGS >/dev/null 2>&1 &
+		exec $DAEMON -v -w "-document_root /www" &
 		exit 0
 		;;
 	esac