[packages] rsync: update to 3.1.0

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@40013 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
luka
2014-03-24 00:59:47 +00:00
parent 1d5920e8b2
commit 8202a37c93
2 changed files with 21 additions and 23 deletions

View File

@ -1,14 +1,14 @@
#!/bin/sh /etc/rc.common
# Copyright (C) 2011 OpenWrt.org
# Copyright (C) 2011-2014 OpenWrt.org
START=50
START=90
STOP=10
SERVICE_PID_FILE=/var/run/rsyncd.pid
USE_PROCD=1
PROG=/usr/bin/rsync
start() {
service_start /usr/bin/rsync --daemon
}
stop() {
service_stop /usr/bin/rsync
start_service() {
procd_open_instance
procd_set_param command "$PROG" --daemon --no-detach
procd_close_instance
}