diff options
author | root <root@rshg054.dnsready.net> | 2013-05-13 01:16:28 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-05-13 01:16:28 -0700 |
commit | 66cb4a487ad73063c6b000279a5d5558fb7603f5 (patch) | |
tree | ee73bbc414ba8aec6b9a578578ceaabd38fff01e /extra/rsync/rsyncd | |
parent | 5b9e0d821dd428792bd51ed03af2b800924ce69d (diff) |
Mon May 13 01:16:27 PDT 2013
Diffstat (limited to 'extra/rsync/rsyncd')
-rw-r--r-- | extra/rsync/rsyncd | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/extra/rsync/rsyncd b/extra/rsync/rsyncd deleted file mode 100644 index 27836d5c4..000000000 --- a/extra/rsync/rsyncd +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -[ -f /etc/conf.d/rsyncd ] && . /etc/conf.d/rsyncd - -case "$1" in - start) - stat_busy "Starting rsyncd" - [ ! -f /run/daemons/rsyncd ] && /usr/bin/rsync --daemon $RSYNCD_ARGS - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon rsyncd - stat_done - fi - ;; - stop) - stat_busy "Stopping rsyncd" - [ -f /run/rsyncd.pid ] && kill `cat /run/rsyncd.pid` - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon rsyncd - stat_done - fi - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 |