rsync: import from packages

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
This commit is contained in:
Maxim Storchak
2014-06-24 16:50:35 +03:00
parent 630ae414b2
commit 4145614571
3 changed files with 110 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/bin/sh /etc/rc.common
# Copyright (C) 2011-2014 OpenWrt.org
START=90
STOP=10
USE_PROCD=1
PROG=/usr/bin/rsync
start_service() {
procd_open_instance
procd_set_param command "$PROG" --daemon --no-detach
procd_close_instance
}