]> git.pld-linux.org Git - packages/frox.git/commitdiff
- formatting
authorankry <ankry@pld-linux.org>
Tue, 27 May 2003 21:56:34 +0000 (21:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    frox.init -> 1.6

frox.init

index 402b53351616f20b72c720bcff2a20ebcbccb8e8..102f0f7206f4c7eeb4e3d276b0646396d0e5815a 100644 (file)
--- a/frox.init
+++ b/frox.init
@@ -25,10 +25,10 @@ case "$1" in
                daemon frox -f /etc/frox.conf
                RETVAL=$?
                [ $RETVAL -eq 0 ] && touch /var/lock/subsys/frox
-               if [ -x /usr/sbin/iptables -a -n "$IPTABLES_RULE" ] ; then
+               if [ -x /usr/sbin/iptables -a -n "$IPTABLES_RULE" ]; then
                        run_cmd "Redirecting FTP traffic" '/usr/sbin/iptables -t nat -A $IPTABLES_RULE'
                fi
-               if [ -x /sbin/ipchains -a -n "$IPCHAINS_RULE" ] ; then
+               if [ -x /sbin/ipchains -a -n "$IPCHAINS_RULE" ]; then
                        run_cmd "Redirecting FTP traffic" '/sbin/ipchains -A $IPCHAINS_RULE'
                fi
 
@@ -39,10 +39,10 @@ case "$1" in
   stop)
        # Stop daemons.
        if [ -f /var/lock/subsys/frox ]; then
-               if [ -x /usr/sbin/iptables -a -n "$IPTABLES_RULE" ] ; then
+               if [ -x /usr/sbin/iptables -a -n "$IPTABLES_RULE" ]; then
                        run_cmd "Removing FTP traffic redirection" '/usr/sbin/iptables -D $IPTABLES_RULE'
                fi
-               if [ -x /sbin/ipchains -a -n "$IPCHAINS_RULE" ] ; then
+               if [ -x /sbin/ipchains -a -n "$IPCHAINS_RULE" ]; then
                        run_cmd "Removing FTP traffic redirection" '/sbin/ipchains -D $IPCHAINS_RULE'
                fi
                msg_stopping frox
This page took 0.125707 seconds and 4 git commands to generate.