diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 18:52:10 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 18:52:10 (GMT) |
commit | 297ec2f39c4d69b1434c39d0ed5af61404dbe677 (patch) | |
tree | 103f22b6128a8905b7c2b264306d8e002db15bfb /abs/core/rsync/rsyncd | |
parent | ee23728f9347243dbac13298ab9b406520ae4966 (diff) | |
download | linhes_pkgbuild-297ec2f39c4d69b1434c39d0ed5af61404dbe677.zip linhes_pkgbuild-297ec2f39c4d69b1434c39d0ed5af61404dbe677.tar.gz linhes_pkgbuild-297ec2f39c4d69b1434c39d0ed5af61404dbe677.tar.bz2 |
rsync, moved to extra
Diffstat (limited to 'abs/core/rsync/rsyncd')
-rw-r--r-- | abs/core/rsync/rsyncd | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/abs/core/rsync/rsyncd b/abs/core/rsync/rsyncd deleted file mode 100644 index e1313dc..0000000 --- a/abs/core/rsync/rsyncd +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -case "$1" in - start) - stat_busy "Starting rsyncd" - [ ! -f /var/run/daemons/rsyncd ] && /usr/bin/rsync --daemon - if [ $? -gt 0 ]; then - stat_fail - else - pgrep -of "/usr/bin/rsync --daemon" > /var/run/rsyncd.pid - add_daemon rsyncd - stat_done - fi - ;; - - stop) - stat_busy "Stopping rsyncd" - [ -f /var/run/rsyncd.pid ] && kill `cat /var/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 |