source: packages/net/rsync/files/rsyncd.init @ 28906

Last change on this file since 28906 was 28906, checked in by nico, 5 years ago

packages/rsync: use new service functions

File size: 199 bytes
Line 
1#!/bin/sh /etc/rc.common
2# Copyright (C) 2011 OpenWrt.org
3
4START=50
5
6SERVICE_PID_FILE=/var/run/rsyncd.pid
7
8start() {
9        service_start /usr/bin/rsync --daemon
10}
11
12stop() {
13        service_stop /usr/bin/rsync
14}
Note: See TracBrowser for help on using the repository browser.