Commit 2e151607 authored by Stefano Babic's avatar Stefano Babic
Browse files

Fix init script for swupdate§


Signed-off-by: Stefano Babic's avatarStefano Babic <sbabic@denx.de>
parent b7a28f48
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment