projects
/
10.03
/
packages.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
741e09c3438cebb07ae8b6621b224a9e467919f4
[10.03/packages.git]
/
net
/
rsync
/
files
/
rsyncd.init
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2011 OpenWrt.org
3
4
START=50
5
BIN=/usr/bin/rsync
6
PID=/var/run/rsyncd.pid
7
SSD=start-stop-daemon
8
9
start() {
10
$SSD -p $PID -S -x $BIN -- --daemon
11
}
12
13
stop() {
14
$SSD -p $PID -K
15
}