packages/net/rsync/files/rsyncd.init
nico f0ca50741f packages/rsync: use new service functions
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-09 23:29:28 +00:00

15 lines
199 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2011 OpenWrt.org
START=50
SERVICE_PID_FILE=/var/run/rsyncd.pid
start() {
service_start /usr/bin/rsync --daemon
}
stop() {
service_stop /usr/bin/rsync
}