]> git.pld-linux.org Git - packages/rsync.git/blobdiff - rsync.init
- let rsync alone decide which user to run... -> start as root
[packages/rsync.git] / rsync.init
index 84b5069613b8fd52f5835d7d51bead911ad66fc3..c1973d71026103746ef05b5fbdc9342dfe2e274e 100644 (file)
@@ -16,7 +16,7 @@
 
 # Check that networking is up.
 if is_yes "${NETWORKING}"; then
-       if [ ! -f /var/lock/subsys/network -a != stop -a != status ]; then
+       if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
                msg_network_down rsyncd
                exit 1
        fi
This page took 0.048657 seconds and 4 git commands to generate.