mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
rsync: import from packages
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user